Function isPivotColumnDef

  • True for a value column of a pivot table (PivotColumnDef). Works across copies of the core.

    Parameters

    • o: any

      the object to check, e.g. a column definition

    Returns o is PivotColumnDef

    true for a value, subtotal or total column of a pivot

    Example

    const valueColumns = (tableModel.getColumnDefs() ?? []).filter(isPivotColumnDef);
    

    Since

    1.1.94