@revolist/revogrid / JSX / RevogrData
Interface: RevogrData
This component is responsible for rendering data Rows, columns, groups and cells
Properties
Property | Type | Description | Defined in |
---|---|---|---|
additionalData? | any | Additional data to pass to renderer Used in plugins such as vue or react to pass root app entity to cells | src/components.d.ts:1647 |
colData | Observable <DSourceState <ColumnRegular , DimensionCols >> | Column source | src/components.d.ts:1651 |
colType | DimensionCols | "rowHeaders" | Column data type | src/components.d.ts:1655 |
dataStore | Observable <DSourceState <DataType , DimensionRows >> | Data rows source | src/components.d.ts:1659 |
dimensionRow | Observable <DimensionSettingsState > | Dimension settings Y | src/components.d.ts:1663 |
jobsBeforeRender? | (Promise <any > | () => Promise <any >)[] | Prevent rendering until job is done. Can be used for initial rendering performance improvement. When several plugins require initial rendering this will prevent double initial rendering. | src/components.d.ts:1667 |
onAfterrender? | (event : RevogrDataCustomEvent <{ type : DimensionRows ; }>) => void | When data render finished for the designated type | src/components.d.ts:1671 |
onBeforecellrender? | (event : RevogrDataCustomEvent <BeforeCellRenderEvent <CellTemplateProp >>) => void | Before each cell render function. Allows to override cell properties | src/components.d.ts:1675 |
onBeforedatarender? | (event : RevogrDataCustomEvent <AllDimensionType >) => void | Before data render | src/components.d.ts:1679 |
onBeforerowrender? | (event : RevogrDataCustomEvent <BeforeRowRenderEvent <any >>) => void | Before each row render | src/components.d.ts:1683 |
onDragstartcell? | (event : RevogrDataCustomEvent <DragStartEvent >) => void | Event emitted on cell drag start | src/components.d.ts:1687 |
range? | boolean | Range allowed | src/components.d.ts:1691 |
readonly? | boolean | Readonly mode | src/components.d.ts:1695 |
rowClass? | string | Defines property from which to read row class | src/components.d.ts:1699 |
rowSelectionStore | Observable <SelectionStoreState > | Selection, range, focus for row selection | src/components.d.ts:1703 |
type | DimensionRows | Row data type | src/components.d.ts:1707 |
viewportCol | Observable <ViewportState > | Viewport X | src/components.d.ts:1711 |
viewportRow | Observable <ViewportState > | Viewport Y | src/components.d.ts:1715 |