Abstract Private _changedA signal emitted when the data model has changed.
Abstract columnGet the column count for a region in the data model.
This method is called often, and so should be efficient.
The column region of interest.
Abstract dataGet the data value for a cell in the data model.
The data value for the specified cell.
The returned data should be treated as immutable.
This method is called often, and so should be efficient.
The cell region of interest.
The row index of the cell of interest.
The column index of the cell of interest.
Protected emitEmit the changed signal for the data model.
Subclasses should call this method whenever the data model has changed so that attached data grids can update themselves.
Get the merged cell group corresponding to a region and index number.
a cell group.
the cell region of cell group.
the group index of the cell group.
Get the count of merged cell groups pertaining to a given cell region.
the target cell region.
Get the metadata for a cell in the data model.
The metadata for the specified cell.
The returned metadata should be treated as immutable.
This method is called often, and so should be efficient.
The default implementation returns {}.
The cell region of interest.
The row index of the cell of interest.
The column index of the cell of interest.
Abstract rowGenerated using TypeDoc
An object which provides the data for a data grid.
Notes
If the predefined data models are insufficient for a particular use case, a custom model can be defined which derives from this class.