Skip to content

RevoGrid Documentation v4.23.21 / 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:1860
colDataObservable<DSourceState<ColumnRegular<ColumnProp, DataType<any, ColumnProp>>, DimensionCols>>Column sourcesrc/components.d.ts:1864
colTypeDimensionCols | "rowHeaders"Column data typesrc/components.d.ts:1868
dataStoreObservable<DSourceState<DataType, DimensionRows>>Data rows sourcesrc/components.d.ts:1872
dimensionRowObservable<DimensionSettingsState>Dimension settings Ysrc/components.d.ts:1876
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:1881
onAfterrender?(event: RevogrDataCustomEvent<{ type: DimensionRows; }>) => voidWhen data render finished for the designated typesrc/components.d.ts:1885
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:1889
onBeforedatarender?(event: RevogrDataCustomEvent<AllDimensionType>) => voidBefore data rendersrc/components.d.ts:1893
onBeforerowrender?(event: RevogrDataCustomEvent<BeforeRowRenderEvent<any>>) => voidBefore each row rendersrc/components.d.ts:1897
onDragstartcell?(event: RevogrDataCustomEvent<DragStartEvent<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>>) => voidEvent emitted on cell drag startsrc/components.d.ts:1901
range?booleanRange allowedsrc/components.d.ts:1905
readonly?booleanReadonly modesrc/components.d.ts:1909
rowClass?stringDefines property from which to read row classsrc/components.d.ts:1913
rowSelectionStoreObservable<SelectionStoreState>Selection, range, focus for row selectionsrc/components.d.ts:1917
typeDimensionRowsRow data typesrc/components.d.ts:1921
viewportColObservable<ViewportState>Viewport Xsrc/components.d.ts:1925
viewportRowObservable<ViewportState>Viewport Ysrc/components.d.ts:1929