SelectionSettings
12 Sep 20251 minute to read
Configures the selection behavior of the Gantt.
Properties
cellSelectionMode CellSelectionMode
To define selection mode of cell.
Defaults to Syncfusion.EJ2.Grids.CellSelectionMode.Flow
enableToggle boolean
If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.
Defaults to false
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. 
Defaults to Syncfusion.EJ2.Grids.SelectionMode.Row
persistSelection boolean
If ‘persistSelection’ set to true, then the Gantt selection is persisted on all operations.
Defaults to false
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. 
Defaults to Syncfusion.EJ2.Grids.SelectionType.Single