A type alias for the data model cell regions.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when cells are changed in-place.
A type alias for the args objects of the changed
signal.
A type alias for the data model column regions.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when columns are inserted or removed.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when columns are moved.
A type alias for a data source for a JSON data model.
A data source is an array of JSON object records which represent the rows of the table. The keys of the records correspond to the field names of the columns.
An object which describes a column of data in the model.
This is based on the JSON Table Schema specification: https://specs.frictionlessdata.io/table-schema/
The metadata for a column in a data model.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when the model has changed in a fashion that cannot be easily
expressed by the other args object types.
This is the "big hammer" approach, and will cause any associated data grid to perform a full reset. The other changed args types should be used whenever possible.
A type alias for the data model row regions.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when rows are inserted or removed.
An arguments object for the changed
signal.
Data models should emit the changed
signal with this args object
type when rows are moved.
An object when specifies the schema for a data model.
This is based on the JSON Table Schema specification: https://specs.frictionlessdata.io/table-schema/
A singleton empty metadata object.
A signal emitted when the data model has changed.
Get the column count for a region in the data model.
The column region of interest.
Get 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.
A missingValue
as defined by the schema is converted to null
.
Emit 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 of interest.
The column index of the cell of interest.
The metadata for the cell.
Get the row count for a region in the data model.
The row region of interest.
Generated using TypeDoc
A data model implementation for in-memory JSON data. The namespace for the
JSONModel
class statics.