Class TreeGridSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeGridSortSettingsBuilder
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridSortSettingsBuilder : ControlBuilder
Constructors
TreeGridSortSettingsBuilder()
Declaration
public TreeGridSortSettingsBuilder()
TreeGridSortSettingsBuilder(TreeGridSortSettings)
Declaration
public TreeGridSortSettingsBuilder(TreeGridSortSettings model)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSortSettings | model |
Methods
AllowUnsort(Boolean)
If allowUnsort
set to false the user can not get the TreeGrid in unsorted state by clicking the sorted column header.
Declaration
public TreeGridSortSettingsBuilder AllowUnsort(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Columns(Object)
Specifies the columns to sort at initial rendering of TreeGrid. Also user can get current sorted columns.
Declaration
public TreeGridSortSettingsBuilder Columns(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |