SortModel

12 Sep 20251 minute to read

Interface for a class Sort

Properties

membersOrder string[]|number[]

Allows to specify the order in which the members should be sorted.

name string

Allows to set the field name to order their members either in ascending or descending in the pivot table.

order Sorting

Allows to apply sorting to the specified field either by ascending or descending or JSON order. The types are,

  • Ascending: It allows to display the field members in ascending order.
  • Descending: It allows to display the field members in descending order.
  • None: It allows to display the field members based on JSON order.