Class TreeGridSortSettingsBuilder
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.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
Type | Description |
---|---|
TreeGridSortSettingsBuilder |
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 |
Returns
Type | Description |
---|---|
TreeGridSortSettingsBuilder |