Class GridSortSettings
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
GridSortSettings
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.EJ2.dll
Syntax
public class GridSortSettings : EJTagHelper
Constructors
GridSortSettings()
Declaration
public GridSortSettings()
Properties
AllowUnsort
If allowUnsort
set to false the user can not get the grid in unsorted state by clicking the sorted column header.
Declaration
public bool AllowUnsort { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Columns
Specifies the columns to sort at initial rendering of Grid. Also user can get current sorted columns.
Declaration
public object Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |