SortDescriptor
Class
Represents declarative sorting.
Definition
Namespace:Telerik.DataSource
Assembly:Telerik.DataSource.dll
Syntax:
C#
public class SortDescriptor : JsonObject
Inheritance: objectJsonObjectSortDescriptor
Derived Classes:
Inherited Members
Constructors
C#
public SortDescriptor()
C#
public SortDescriptor(string member, ListSortDirection order)
Methods
for internal use
for internal use
for internal use
C#
protected override void Serialize(IDictionary<string, object> json)
Overrides:
Properties
Gets or sets the member name (field) which will be used.
C#
public string Member { get; set; }
SortCompare
ClientHandlerDescriptor
Gets or sets the sort compare for this sort descriptor. Applicable only for jQuery-based widgets such as UI for ASP.NET MVC.
C#
[JsonIgnore]
public ClientHandlerDescriptor SortCompare { get; set; }
Gets or sets the sort direction for this sort descriptor. If the value is null no sorting will be applied.
C#
public ListSortDirection SortDirection { get; set; }
The sort direction. The default value is null.