SelectionSettingsModel
16 Dec 20251 minute to read
Interface for a class SelectionSettings
Properties
cellSelectionMode CellSelectionMode
The cell selection modes are flow and box. It requires the selection mode to be either cell or both.
-
Flow: Selects the range of cells between start index and end index that also includes the other cells of the selected rows. -
Box: Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range. -
BoxWithBorder: Selects the range of cells as like Box mode with borders.
The supported cell selection modes are defined in the CellSelectionMode enumeration.
enableToggle boolean
If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.
mode SelectionMode
Defines the selection mode for the Gantt. It supports row, cell, and both (row and cell) selection modes.
-
Row: Selects entire rows. -
Cell: Selects individual cells. -
Both: Allows selection of both rows and cells.
persistSelection boolean
If ‘persistSelection’ set to true, then the Gantt selection is persisted on all operations.
type SelectionType
Defines the selection type for rows or cells.
-
Single: Allows only a single row or cell to be selected at a time. -
Multiple: Allows multiple rows or cells to be selected simultaneously.