Abstract
Private
_changedA signal emitted when the data model has changed.
Abstract
columnGet the column count for a region in the data model.
The column region of interest.
This method is called often, and so should be efficient.
Abstract
dataGet the data value for a cell in the data model.
The cell region of interest.
The row index of the cell of interest.
The column index of the cell of interest.
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.
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.
the cell region of cell group.
the group index of the cell group.
a 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 cell region of interest.
The row index of the cell of interest.
The column index of the cell of interest.
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 {}
.
Abstract
row
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.