SortDescription Class
File
wijmo.js
Module
wijmo.collections

Describes a sorting criterion.

Constructor

Properties

Constructor

constructor

constructor(property: string, ascending: boolean): SortDescription

Initializes a new instance of the SortDescription class.

Parameters
  • property: string

    Name of the property to sort on.

  • ascending: boolean

    Whether to sort in ascending order.

Returns
SortDescription

Properties

ascending

Gets a value that determines whether to sort the values in ascending order.

Type
boolean

property

Gets the name of the property used to sort.

Type
string