Skip to content

RevoGrid Documentation v4.27.11 / JSX / RevogrData

Interface: RevogrData ​

This component is responsible for rendering data Rows, columns, groups and cells

Properties ​

PropertyTypeDescriptionDefined in
additionalData?anyAdditional data to pass to renderer Used in plugins such as vue or react to pass root app entity to cellssrc/components.d.ts:1887
colDataObservable<DSourceState<ColumnRegular<ColumnProp, DataType<any, ColumnProp>>, DimensionCols>>Column sourcesrc/components.d.ts:1891
colTypeDimensionCols | "rowHeaders"Column data typesrc/components.d.ts:1895
dataStoreObservable<DSourceState<DataType, DimensionRows>>Data rows sourcesrc/components.d.ts:1899
dimensionRowObservable<DimensionSettingsState>Dimension settings Ysrc/components.d.ts:1903
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. Default []src/components.d.ts:1908
onAfterrender?(event: RevogrDataCustomEvent<{ type: DimensionRows; }>) => voidWhen data render finished for the designated typesrc/components.d.ts:1912
onBeforecellrender?(event: RevogrDataCustomEvent<BeforeCellRenderEvent<CellTemplateProp<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>, ColumnProp>>>) => voidBefore each cell render function. Allows to override cell propertiessrc/components.d.ts:1916
onBeforedatarender?(event: RevogrDataCustomEvent<AllDimensionType>) => voidBefore data rendersrc/components.d.ts:1920
onBeforerowrender?(event: RevogrDataCustomEvent<BeforeRowRenderEvent<any>>) => voidBefore each row rendersrc/components.d.ts:1924
onDragstartcell?(event: RevogrDataCustomEvent<DragStartEvent<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>>) => voidEvent emitted on cell drag startsrc/components.d.ts:1928
range?booleanRange allowedsrc/components.d.ts:1932
readonly?booleanReadonly modesrc/components.d.ts:1936
rowClass?stringDefines property from which to read row classsrc/components.d.ts:1940
rowSelectionStoreObservable<SelectionStoreState>Selection, range, focus for row selectionsrc/components.d.ts:1944
typeDimensionRowsRow data typesrc/components.d.ts:1948
viewportColObservable<ViewportState>Viewport Xsrc/components.d.ts:1952
viewportRowObservable<ViewportState>Viewport Ysrc/components.d.ts:1956