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:555
groupsRecord<any, any>src/types/interfaces.ts:556
itemsnumber[]src/types/interfaces.ts:549
proxyItemsnumber[]src/types/interfaces.ts:551
sourceT[]src/types/interfaces.ts:553
trimmedRecord<any, any>src/types/interfaces.ts:560
typeSTsrc/types/interfaces.ts:558

Defined in

src/types/interfaces.ts:544

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