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 set to false, the user cannot reset the TreeGrid to an unsorted state by clicking on the sorted column header. When true, clicking an already sorted column header will toggle the sort direction or remove sorting.
Declaration
public TreeGridSortSettingsBuilder AllowUnsort(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Columns(Object)
Specifies the columns to be sorted at initial rendering of the TreeGrid. This property can also be used to get or modify the currently sorted columns at runtime.
Declaration
public TreeGridSortSettingsBuilder Columns(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |