Skip to content

@revolist/revogrid / 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:1647
colDataObservable<DSourceState<ColumnRegular, DimensionCols>>Column sourcesrc/components.d.ts:1651
colTypeDimensionCols | "rowHeaders"Column data typesrc/components.d.ts:1655
dataStoreObservable<DSourceState<DataType, DimensionRows>>Data rows sourcesrc/components.d.ts:1659
dimensionRowObservable<DimensionSettingsState>Dimension settings Ysrc/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; }>) => voidWhen data render finished for the designated typesrc/components.d.ts:1671
onBeforecellrender?(event: RevogrDataCustomEvent<BeforeCellRenderEvent<CellTemplateProp>>) => voidBefore each cell render function. Allows to override cell propertiessrc/components.d.ts:1675
onBeforedatarender?(event: RevogrDataCustomEvent<AllDimensionType>) => voidBefore data rendersrc/components.d.ts:1679
onBeforerowrender?(event: RevogrDataCustomEvent<BeforeRowRenderEvent<any>>) => voidBefore each row rendersrc/components.d.ts:1683
onDragstartcell?(event: RevogrDataCustomEvent<DragStartEvent>) => voidEvent emitted on cell drag startsrc/components.d.ts:1687
range?booleanRange allowedsrc/components.d.ts:1691
readonly?booleanReadonly modesrc/components.d.ts:1695
rowClass?stringDefines property from which to read row classsrc/components.d.ts:1699
rowSelectionStoreObservable<SelectionStoreState>Selection, range, focus for row selectionsrc/components.d.ts:1703
typeDimensionRowsRow data typesrc/components.d.ts:1707
viewportColObservable<ViewportState>Viewport Xsrc/components.d.ts:1711
viewportRowObservable<ViewportState>Viewport Ysrc/components.d.ts:1715

Revogrid is a MIT-licensed open source library made by Revolist OU.