SortDescriptor

12 Sep 20251 minute to read

Represents the field name and direction of a sort column in the TreeGrid.

Properties

direction SortDirection

Specifies the direction of sorting for the column. The available options are:

  • Ascending: Sorts the column in ascending order.
  • Descending: Sorts the column in descending order.

Defaults to ’’

field string

Specifies the field name of the column to be sorted.

Defaults to ’’