RevoGrid Documentation v4.14.10 / 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 | Virtual index of the column in the viewport | ColumnDataSchemaModel .colIndex | src/types/interfaces.ts:50 |
colType | DimensionCols | Column type based on viewport | ColumnDataSchemaModel .colType | src/types/interfaces.ts:54 |
column | ColumnRegular | Column data object | ColumnDataSchemaModel .column | src/types/interfaces.ts:42 |
data | DataType <any >[] | Row models based on viewport | ColumnDataSchemaModel .data | src/types/interfaces.ts:62 |
model | DataType <any > | Row data object | ColumnDataSchemaModel .model | src/types/interfaces.ts:38 |
prop | ColumnProp | Column prop used for mapping value to cell from data source model/row | ColumnDataSchemaModel .prop | src/types/interfaces.ts:34 |
providers | Providers <DimensionRows > | Providers injected into the template | - | src/types/interfaces.ts:77 |
rowIndex | number | Virtual index of the row in the viewport | ColumnDataSchemaModel .rowIndex | src/types/interfaces.ts:46 |
type | DimensionRows | Row type based on viewport | ColumnDataSchemaModel .type | src/types/interfaces.ts:58 |
value? | any | Current cell data value Mapped from model through column property like model['prop'] | ColumnDataSchemaModel .value | src/types/interfaces.ts:67 |