Skip to content

@revolist/revogrid / 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

NameTypeDefined in
groupingDepthnumbersrc/types/interfaces.ts:576
groupsRecord<any, any>src/types/interfaces.ts:577
itemsnumber[]src/types/interfaces.ts:570
proxyItemsnumber[]src/types/interfaces.ts:572
sourceT[]src/types/interfaces.ts:574
trimmedRecord<any, any>src/types/interfaces.ts:581
typeSTsrc/types/interfaces.ts:579

Defined in

src/types/interfaces.ts:565

Revogrid is a powerful data grid library made by Revolist OU.