Search results

SelectionSettings API in React Gantt API component

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

Gantt supports row, cell, and both (row and cell) selection mode.

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 options for selection type. They are

  • Single: Allows selection of only a row or a cell.
  • Multiple: Allows selection of multiple rows or cells.

Defaults to Syncfusion.EJ2.Grids.SelectionType.Single