Skip to content

@revolist/revogrid / Providers

Type Alias: Providers<T>

ts
type Providers<T>: {
  data: Observable<DataSourceState<any, any>> | ColumnRegular[];
  dimension: Observable<DimensionSettingsState>;
  readonly: boolean;
  selection: Observable<SelectionStoreState>;
  type: T;
  viewport: Observable<ViewportState>;
};

Providers for grid which are going to be injected into each cell template

Type Parameters

Type ParameterDefault type
TDimensionRows

Type declaration

NameTypeDescriptionDefined in
dataObservable<DataSourceState<any, any>> | ColumnRegular[]Data source storesrc/types/interfaces.ts:298
dimensionObservable<DimensionSettingsState>Dimension storesrc/types/interfaces.ts:306
readonlybooleanFlag indicating if grid is in readonly modesrc/types/interfaces.ts:294
selectionObservable<SelectionStoreState>Selection storesrc/types/interfaces.ts:310
typeTDimension type (e.g. row or column)src/types/interfaces.ts:290
viewportObservable<ViewportState>Viewport storesrc/types/interfaces.ts:302

Defined in

src/types/interfaces.ts:286

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