@revolist/revogrid / ColumnDataSchemaModel
Type Alias: ColumnDataSchemaModel
ts
type ColumnDataSchemaModel: {
colIndex: number;
colType: DimensionCols;
column: ColumnRegular;
data: DataType[];
model: DataType;
prop: ColumnProp;
rowIndex: number;
type: DimensionRows;
value: any;
};
Advanced column data schema model. Used for transpassing data to cell renderer and editor.
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
colIndex | number | Index of the column in the viewport | src/types/interfaces.ts:49 |
colType | DimensionCols | Column type based on viewport | src/types/interfaces.ts:53 |
column | ColumnRegular | Column data object | src/types/interfaces.ts:41 |
data | DataType [] | Row models based on viewport | src/types/interfaces.ts:61 |
model | DataType | Row data object | src/types/interfaces.ts:37 |
prop | ColumnProp | Column prop used for mapping value to cell from data source model/row | src/types/interfaces.ts:33 |
rowIndex | number | Index of the row in the viewport | src/types/interfaces.ts:45 |
type | DimensionRows | Row type based on viewport | src/types/interfaces.ts:57 |
value | any | Current cell data value Mapped from model through column property like model['prop'] | src/types/interfaces.ts:66 |