API reference
Table of contents

ExpandsObject

This object stores information about expanded fields.

Properties

expands: {
  expandAll: boolean,
  expandAllColumns: boolean,
  expandAllRows: boolean,
  columns: RecordIdentifierObject[],
  rows: RecordIdentifierObject[]
}
Property/Type Description
expandAll
Boolean
optional Set this property to true to expand all fields. Works for the grid and the charts.
expandAllColumns
Boolean
optional Set this property to true to expand all fields in columns. Works for the grid and the charts.
expandAllRows
Boolean
optional Set this property to true to expand all fields in rows. Works for the grid and the charts.
columns
RecordIdentifierObject[]
optional Used to save and restore expanded columns.
rows
RecordIdentifierObject[]
optional Used to save and restore expanded rows.

Example

Example with the ExpandsObject:

slice: {
  // Other slice properties
  expands: {
    expandAll: false,
    expandAllColumns: false,
    expandAllRows: false,
    rows: [
      // RecordIdentifierObjects
    ],
  },
}