5.20231.904
wijmo Class SortDescription Wijmo API Class

SortDescription Class

Describes a sorting criterion.

Heirarchy

  • SortDescription

Constructors

Properties

Constructors

constructor

  • new SortDescription(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

ascending: boolean

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

property

property: string

Gets the name of the property used to sort.