Class GridSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GridSortSettingsBuilder
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.EJ2.dll
Syntax
public class GridSortSettingsBuilder : ControlBuilder
Constructors
GridSortSettingsBuilder()
Declaration
public GridSortSettingsBuilder()
GridSortSettingsBuilder(GridSortSettings)
Declaration
public GridSortSettingsBuilder(GridSortSettings model)
Parameters
Type | Name | Description |
---|---|---|
GridSortSettings | model |
Methods
AllowUnsort(Boolean)
If allowUnsort
set to false the user can not get the grid in unsorted state by clicking the sorted column header.
Declaration
public GridSortSettingsBuilder AllowUnsort(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Columns(Object)
Specifies the columns to sort at initial rendering of Grid. Also user can get current sorted columns.
Declaration
public GridSortSettingsBuilder Columns(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |