All documentation
  • API Reference for older versions
  • ColumnSizesObject

    This object is used to set table sizes for a specific column.

    Properties

    {
      width: number,
      idx: number,
      tuple: string[],
      measure: MeasureIdentifierObject
    }
    Property/TypeDescription
    width
    Number
    Column width in pixels.
    idx
    Number
    Column's index, starts from 0. It is necessary to use either idx or tuple, not both.
    tuple
    String[]
    Unique names that identify the column in the table based on data in it. It is necessary to use either idx or tuple, not both.
    measure
    MeasureIdentifierObject
    optional Identifies the measure. This property is required when "[Measures]" is selected for columns in the slice. The measure property must be used with tuple and should not be set when idx is used.

    See also

    TableSizesObject
    RowSizesObject
    setTableSizes()
    getTableSizes()