Class GanttSelectionSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Gantt
Assembly: Syncfusion.EJ2.dll
Syntax
public class GanttSelectionSettings : EJTagHelper
Constructors
GanttSelectionSettings()
Declaration
public GanttSelectionSettings()
Properties
CellSelectionMode
To define selection mode of cell.
Declaration
[HtmlAttributeName("cellSelectionMode")]
public CellSelectionMode CellSelectionMode { get; set; }
Property Value
Type | Description |
---|---|
CellSelectionMode | The default value is Syncfusion.EJ2.Grids.CellSelectionMode.Flow |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
EnableToggle
If 'enableToggle' set to true, then the user can able to perform toggle for the selected row.
Declaration
[HtmlAttributeName("enableToggle")]
public bool EnableToggle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Mode
Gantt supports row, cell, and both (row and cell) selection mode.
Declaration
[HtmlAttributeName("mode")]
public SelectionMode Mode { get; set; }
Property Value
Type | Description |
---|---|
SelectionMode | The default value is Syncfusion.EJ2.Grids.SelectionMode.Row |
PersistSelection
If 'persistSelection' set to true, then the Gantt selection is persisted on all operations.
Declaration
[HtmlAttributeName("persistSelection")]
public bool PersistSelection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Type
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.
Declaration
[HtmlAttributeName("type")]
public SelectionType Type { get; set; }
Property Value
Type | Description |
---|---|
SelectionType | The default value is Syncfusion.EJ2.Grids.SelectionType.Single |