RevoGrid Documentation v4.15.2 / 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:604 |
groups | Record <any , any > | - | src/types/interfaces.ts:605 |
items | number [] | List of indices for visible items in the grid | src/types/interfaces.ts:591 |
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:596 |
source | T [] | Actual data array | src/types/interfaces.ts:600 |
trimmed | Record <any , any > | Info for trimming or filtering the data, to hide entities from visible data source | src/types/interfaces.ts:613 |
type | ST | Dimension type, can be rows or columns depending on context | src/types/interfaces.ts:609 |