Skip to content

RevoGrid Documentation v4.25.1 / 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:1875
colDataObservable<DSourceState<ColumnRegular<ColumnProp, DataType<any, ColumnProp>>, DimensionCols>>Column sourcesrc/components.d.ts:1879
colTypeDimensionCols | "rowHeaders"Column data typesrc/components.d.ts:1883
dataStoreObservable<DSourceState<DataType, DimensionRows>>Data rows sourcesrc/components.d.ts:1887
dimensionRowObservable<DimensionSettingsState>Dimension settings Ysrc/components.d.ts:1891
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:1896
onAfterrender?(event: RevogrDataCustomEvent<{ type: DimensionRows; }>) => voidWhen data render finished for the designated typesrc/components.d.ts:1900
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:1904
onBeforedatarender?(event: RevogrDataCustomEvent<AllDimensionType>) => voidBefore data rendersrc/components.d.ts:1908
onBeforerowrender?(event: RevogrDataCustomEvent<BeforeRowRenderEvent<any>>) => voidBefore each row rendersrc/components.d.ts:1912
onDragstartcell?(event: RevogrDataCustomEvent<DragStartEvent<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>>) => voidEvent emitted on cell drag startsrc/components.d.ts:1916
range?booleanRange allowedsrc/components.d.ts:1920
readonly?booleanReadonly modesrc/components.d.ts:1924
rowClass?stringDefines property from which to read row classsrc/components.d.ts:1928
rowSelectionStoreObservable<SelectionStoreState>Selection, range, focus for row selectionsrc/components.d.ts:1932
typeDimensionRowsRow data typesrc/components.d.ts:1936
viewportColObservable<ViewportState>Viewport Xsrc/components.d.ts:1940
viewportRowObservable<ViewportState>Viewport Ysrc/components.d.ts:1944