Class MobileSortSettingsBuilder<T>
Inheritance
System.Object
MobileSortSettingsBuilder<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 MobileSortSettingsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
MobileSortSettingsBuilder(MobileSortSettings<T>)
Initializes a new instance of the MobileSortSettingsBuilder<T> class.
Declaration
public MobileSortSettingsBuilder(MobileSortSettings<T> sort)
Parameters
Type | Name | Description |
---|---|---|
MobileSortSettings<T> | sort | The sort. |
Methods
AllowMultiSorting(Boolean)
Enable or disable the multi sorting behavior of grid.
Declaration
public MobileSortSettingsBuilder<T> AllowMultiSorting(bool sort)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | sort | if set to |
Returns
Type | Description |
---|---|
MobileSortSettingsBuilder<T> | MobileSortSettingsBuilder{`0}. |
SortedColumns(Action<MobileSortedColumnBuilder<T>>)
To define which column can be sorted and also to define the sort direction
Declaration
public MobileSortSettingsBuilder<T> SortedColumns(Action<MobileSortedColumnBuilder<T>> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MobileSortedColumnBuilder<T>> | sortedColumns | The sorted columns. |
Returns
Type | Description |
---|---|
MobileSortSettingsBuilder<T> | MobileSortSettingsBuilder{`0}. |
SortedColumns(List<MobileSortedColumn<T>>)
To define which column can be sorted and also to define the sort direction
Declaration
public MobileSortSettingsBuilder<T> SortedColumns(List<MobileSortedColumn<T>> sortedColumns)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<MobileSortedColumn<T>> | sortedColumns | The sorted columns. |
Returns
Type | Description |
---|---|
MobileSortSettingsBuilder<T> | MobileSortSettingsBuilder{`0}. |