RevoGrid Documentation v4.12.7 / DataSourceState
Type Alias: DataSourceState<T, ST>
ts
type DataSourceState<T, ST>: {
groupingDepth: number;
groups: Record<any, any>;
items: number[];
proxyItems: number[];
source: T[];
trimmed: Record<any, any>;
type: ST;
};
Type Parameters
Type Parameter |
---|
T extends DataType | ColumnRegular |
ST extends DimensionRows | DimensionCols |
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
groupingDepth | number | Grouping information | src/types/interfaces.ts:585 |
groups | Record <any , any > | - | src/types/interfaces.ts:586 |
items | number [] | List of indices for visible items in the grid | src/types/interfaces.ts:572 |
proxyItems | number [] | List of indices for visible items in the grid, even if they are trimmed Update this collection if you want to change items order | src/types/interfaces.ts:577 |
source | T [] | Actual data array | src/types/interfaces.ts:581 |
trimmed | Record <any , any > | Info for trimming or filtering the data, to hide entities from visible data source | src/types/interfaces.ts:594 |
type | ST | Dimension type, can be rows or columns depending on context | src/types/interfaces.ts:590 |