Class SortOptionsBuilder<T>
Inheritance
System.Object
SortOptionsBuilder<T>
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 SortOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SortOptionsBuilder(SortSettings)
Initializes a new instance of the
Declaration
public SortOptionsBuilder(SortSettings sort)
Parameters
Type | Name | Description |
---|---|---|
SortSettings | sort | It displays the list of ScrollSettings option |
Methods
SortedColumns(Action<SortedColumnBuilder<T>>)
It sets a value that indicates whether to define the direction and field to sort the column.
Declaration
public SortOptionsBuilder<T> SortedColumns(Action<SortedColumnBuilder<T>> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SortedColumnBuilder<T>> | sortedColumns | It displays the list of ScrollSettings option through lambda expression |
Returns
Type | Description |
---|---|
SortOptionsBuilder<T> | SortOptionsBuilder |
SortedColumns(List<SortedColumn>)
It sets a value that indicates whether to define the direction and field to sort the column.
Declaration
public SortOptionsBuilder<T> SortedColumns(List<SortedColumn> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<SortedColumn> | sortedColumns | It displays the list of Scrollsettings option |
Returns
Type | Description |
---|---|
SortOptionsBuilder<T> | SortOptionsBuilder |