Class GanttSelectionSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GanttSelectionSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class GanttSelectionSettingsBuilder : ControlBuilder
Constructors
GanttSelectionSettingsBuilder()
Declaration
public GanttSelectionSettingsBuilder()
GanttSelectionSettingsBuilder(GanttSelectionSettings)
Declaration
public GanttSelectionSettingsBuilder(GanttSelectionSettings model)
Parameters
Methods
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.
Declaration
public GanttSelectionSettingsBuilder CellSelectionMode(CellSelectionMode value)
Parameters
Returns
EnableToggle(Boolean)
If 'enableToggle' set to true, then the user can able to perform toggle for the selected row.
Declaration
public GanttSelectionSettingsBuilder EnableToggle(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
Mode(SelectionMode)
Defines the selection mode for the Gantt. It supports row, cell, and both (row and cell) selection modes.
Declaration
public GanttSelectionSettingsBuilder Mode(SelectionMode value)
Parameters
Returns
PersistSelection(Boolean)
If 'persistSelection' set to true, then the Gantt selection is persisted on all operations.
Declaration
public GanttSelectionSettingsBuilder PersistSelection(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
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.
Declaration
public GanttSelectionSettingsBuilder Type(SelectionType value)
Parameters
Returns