Class TreeGridSortSettingOptionBuilder
Inheritance
System.Object
TreeGridSortSettingOptionBuilder
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.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridSortSettingOptionBuilder
Constructors
TreeGridSortSettingOptionBuilder(TreeGridSortSettingOption)
Initializes a new instance of the
Declaration
public TreeGridSortSettingOptionBuilder(TreeGridSortSettingOption sort)
Parameters
Type | Name | Description |
---|---|---|
TreeGridSortSettingOption | sort | It displays the list of Sort Settings option |
Methods
SortedColumns(Action<TreeGridSortedColumnBuilder>)
It sets a value that indicates the direction and field to sort the column.
Declaration
public TreeGridSortSettingOptionBuilder SortedColumns(Action<TreeGridSortedColumnBuilder> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TreeGridSortedColumnBuilder> | sortedColumns | It displays the list of sort settings option through lambda expression |
Returns
Type | Description |
---|---|
TreeGridSortSettingOptionBuilder | TreeGridSortSettingOptionBuilder |
SortedColumns(List<TreeGridSortedColumn>)
It sets a value that indicates the direction and field to sort the column.
Declaration
public TreeGridSortSettingOptionBuilder SortedColumns(List<TreeGridSortedColumn> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeGridSortedColumn> | sortedColumns | It displays the list of sort settings option |
Returns
Type | Description |
---|---|
TreeGridSortSettingOptionBuilder | TreeGridSortSettingOptionBuilder |