@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:1682 |
colData | Observable <DSourceState <ColumnRegular , DimensionCols >> | Column source | src/components.d.ts:1686 |
colType | DimensionCols | "rowHeaders" | Column data type | src/components.d.ts:1690 |
dataStore | Observable <DSourceState <DataType , DimensionRows >> | Data rows source | src/components.d.ts:1694 |
dimensionRow | Observable <DimensionSettingsState > | Dimension settings Y | src/components.d.ts:1698 |
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:1702 |
onAfterrender? | (event : RevogrDataCustomEvent <{ type : DimensionRows ; }>) => void | When data render finished for the designated type | src/components.d.ts:1706 |
onBeforecellrender? | (event : RevogrDataCustomEvent <BeforeCellRenderEvent <CellTemplateProp >>) => void | Before each cell render function. Allows to override cell properties | src/components.d.ts:1710 |
onBeforedatarender? | (event : RevogrDataCustomEvent <AllDimensionType >) => void | Before data render | src/components.d.ts:1714 |
onBeforerowrender? | (event : RevogrDataCustomEvent <BeforeRowRenderEvent <any >>) => void | Before each row render | src/components.d.ts:1718 |
onDragstartcell? | (event : RevogrDataCustomEvent <DragStartEvent >) => void | Event emitted on cell drag start | src/components.d.ts:1722 |
range? | boolean | Range allowed | src/components.d.ts:1726 |
readonly? | boolean | Readonly mode | src/components.d.ts:1730 |
rowClass? | string | Defines property from which to read row class | src/components.d.ts:1734 |
rowSelectionStore | Observable <SelectionStoreState > | Selection, range, focus for row selection | src/components.d.ts:1738 |
type | DimensionRows | Row data type | src/components.d.ts:1742 |
viewportCol | Observable <ViewportState > | Viewport X | src/components.d.ts:1746 |
viewportRow | Observable <ViewportState > | Viewport Y | src/components.d.ts:1750 |