Class TreeGridSelectionSettingsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridSelectionSettingsBuilder
Constructors
TreeGridSelectionSettingsBuilder(TreeGridSelectionSettings)
Initializes a new instance of the
Declaration
public TreeGridSelectionSettingsBuilder(TreeGridSelectionSettings selection)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSelectionSettings | selection | It displays the list of SelectionSettins option |
Methods
EnableHierarchySelection(Boolean)
It sets a value that indicates to enable hierarchy selection in checkbox selection.
Declaration
public TreeGridSelectionSettingsBuilder EnableHierarchySelection(bool enableHierarchySelection)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableHierarchySelection | It accepts the boolean value and enables or disables hierarchy selection in check box selection |
Returns
Type | Description |
---|---|
TreeGridSelectionSettingsBuilder | TreeGridSelectionSettingsBuilder |
EnableSelectAll(Boolean)
It sets a value that indicates to check/uncheck checkbox based on header checkbox check.
Declaration
public TreeGridSelectionSettingsBuilder EnableSelectAll(bool enableSelectAll)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableSelectAll | It accepts a boolean value that indicates to check/uncheck checkbox based on header checkbox check. |
Returns
Type | Description |
---|---|
TreeGridSelectionSettingsBuilder | TreeGridSelectionSettingsBuilder |
SelectionMode(TreeGridSelectionMode)
It sets a value that indicates selection mode as row or cell.
Declaration
public TreeGridSelectionSettingsBuilder SelectionMode(TreeGridSelectionMode selectionMode)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSelectionMode | selectionMode | It displays list of selection mode |
Returns
Type | Description |
---|---|
TreeGridSelectionSettingsBuilder | TreeGridSelectionSettingsBuilder |
SelectionType(TreeGridSelectionType)
It sets a value that indicates selection type as single , multiple or checkbox.
Declaration
public TreeGridSelectionSettingsBuilder SelectionType(TreeGridSelectionType selectionType)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSelectionType | selectionType | It displays list of selection type |
Returns
Type | Description |
---|---|
TreeGridSelectionSettingsBuilder | TreeGridSelectionSettingsBuilder |