API reference
Table of contents

SortingObject

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

Properties

sorting: {
  column: ValueSortingObject,
  row: ValueSortingObject
}
Property/Type Description
column
ValueSortingObject
Defines the sorting for numbers in a specific column.
row
ValueSortingObject
Defines the sorting for numbers in a specific row.

Examples

Example with the SortingObject:

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