☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

SortingObject

Defines the sorting for values in a specific row and/or column in the pivot table.

Properties

sorting: {
  column: ValueSortingObject,
  row: ValueSortingObject
}
Property/TypeDescription
column
ValueSortingObject
Defines the sorting for values in a specific column.
row
ValueSortingObject
Defines the sorting for values in a specific row.

Examples

Example with the SortingObject:

slice: {
  // Other slice properties
  sorting: {
    column: {
      // ValueSortingObject
    },
    row: {
      // ValueSortingObject
    },
  },
}