@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:1689 |
colData | Observable <DSourceState <ColumnRegular , DimensionCols >> | Column source | src/components.d.ts:1693 |
colType | DimensionCols | "rowHeaders" | Column data type | src/components.d.ts:1697 |
dataStore | Observable <DSourceState <DataType , DimensionRows >> | Data rows source | src/components.d.ts:1701 |
dimensionRow | Observable <DimensionSettingsState > | Dimension settings Y | src/components.d.ts:1705 |
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:1709 |
onAfterrender? | (event : RevogrDataCustomEvent <{ type : DimensionRows ; }>) => void | When data render finished for the designated type | src/components.d.ts:1713 |
onBeforecellrender? | (event : RevogrDataCustomEvent <BeforeCellRenderEvent <CellTemplateProp >>) => void | Before each cell render function. Allows to override cell properties | src/components.d.ts:1717 |
onBeforedatarender? | (event : RevogrDataCustomEvent <AllDimensionType >) => void | Before data render | src/components.d.ts:1721 |
onBeforerowrender? | (event : RevogrDataCustomEvent <BeforeRowRenderEvent <any >>) => void | Before each row render | src/components.d.ts:1725 |
onDragstartcell? | (event : RevogrDataCustomEvent <DragStartEvent >) => void | Event emitted on cell drag start | src/components.d.ts:1729 |
range? | boolean | Range allowed | src/components.d.ts:1733 |
readonly? | boolean | Readonly mode | src/components.d.ts:1737 |
rowClass? | string | Defines property from which to read row class | src/components.d.ts:1741 |
rowSelectionStore | Observable <SelectionStoreState > | Selection, range, focus for row selection | src/components.d.ts:1745 |
type | DimensionRows | Row data type | src/components.d.ts:1749 |
viewportCol | Observable <ViewportState > | Viewport X | src/components.d.ts:1753 |
viewportRow | Observable <ViewportState > | Viewport Y | src/components.d.ts:1757 |