Kendo UI GridSortableSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridSortableSettings<T> where T : class
Inheritance: objectGridSortableSettings<T>
Inherited Members
Constructors
public GridSortableSettings()
Properties
If set to true the user can get the grid in unsorted state by clicking the sorted column header.
public bool? AllowUnsort { get; set; }
If set to true the user could sort the grid by clicking the column header cells. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
public bool? Enabled { get; set; }
Determines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.
public string InitialDirection { get; set; }
If set to true the user will see sort sequence indicators for sorted columns.
public bool? ShowIndexes { get; set; }
Defines the sort modes supported by Kendo UI Grid for ASP.NET MVC
public GridSortMode? SortMode { get; set; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()