@revolist/revogrid / BeforeSaveDataDetails
Interface: BeforeSaveDataDetails
Advanced column data schema model. Used for transpassing data to cell renderer and editor.
Extends
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
colIndex | number | Index of the column in the viewport | ColumnDataSchemaModel.colIndex | src/types/interfaces.ts:49 |
colType | DimensionCols | Column type based on viewport | ColumnDataSchemaModel.colType | src/types/interfaces.ts:53 |
column | ColumnRegular | Column data object | ColumnDataSchemaModel.column | src/types/interfaces.ts:41 |
data | DataType <any >[] | Row models based on viewport | ColumnDataSchemaModel.data | src/types/interfaces.ts:61 |
model | DataType <any > | Row data object | ColumnDataSchemaModel.model | src/types/interfaces.ts:37 |
prop | ColumnProp | Column prop used for mapping value to cell from data source model/row | ColumnDataSchemaModel.prop | src/types/interfaces.ts:33 |
rowIndex | number | Index of the row in the viewport | ColumnDataSchemaModel.rowIndex | src/types/interfaces.ts:45 |
type | DimensionRows | Row type based on viewport | ColumnDataSchemaModel.type | src/types/interfaces.ts:57 |
val? | any | Value from editor to save, not part of the model value yet | - | src/types/selection.ts:119 |
value? | any | Current cell data value Mapped from model through column property like model['prop'] | ColumnDataSchemaModel.value | src/types/interfaces.ts:66 |