@revolist/revogrid / CellTemplateProp
Interface: CellTemplateProp
Template property for each cell, extends the column data schema model. Additionally, it provides access to the providers injected into the template.
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 |
providers | Providers <DimensionRows > | Providers injected into the template | - | src/types/interfaces.ts:76 |
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 |
value? | any | Current cell data value Mapped from model through column property like model['prop'] | ColumnDataSchemaModel.value | src/types/interfaces.ts:66 |