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