All documentation
  • API Reference for older versions
  • 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
        },
      },
    }