Represents a model for handling colspan and rowspan in a table.

Hierarchy

  • ColAndRowspanModel

Constructors

Properties

areaModel: AreaModelIf
colAndRowspanRanges: undefined | CellRange[] = undefined
rowCountAtInit: number = -1

Row count of the area model at the last init (−1: not initialized yet).

tableModel: TableModelIf

Methods

  • Builds the ranges again if the row count of the area model changed since the last init – e.g. after setRows() or a filter (the old ranges could point to rows that no longer exist). Cheap otherwise.

    Returns boolean

    true if the ranges were rebuilt