New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI GridSortableSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridSortableSettings<T> where T : class

Inheritance: objectGridSortableSettings<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public GridSortableSettings()

Properties

If set to true the user can get the grid in unsorted state by clicking the sorted column header.

C#
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.

C#
public bool? Enabled { get; set; }

Grid member.

C#
public Grid<T> Grid { get; set; }

Determines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.

C#
public string InitialDirection { get; set; }

If set to true the user will see sort sequence indicators for sorted columns.

C#
public bool? ShowIndexes { get; set; }

Defines the sort modes supported by Kendo UI Grid for ASP.NET MVC

C#
public GridSortMode? SortMode { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>