@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 Parameter | Default type |
---|---|
T | DimensionRows |
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
data | Observable <DataSourceState <any , any >> | ColumnRegular [] | Data source store | src/types/interfaces.ts:298 |
dimension | Observable <DimensionSettingsState > | Dimension store | src/types/interfaces.ts:306 |
readonly | boolean | Flag indicating if grid is in readonly mode | src/types/interfaces.ts:294 |
selection | Observable <SelectionStoreState > | Selection store | src/types/interfaces.ts:310 |
type | T | Dimension type (e.g. row or column) | src/types/interfaces.ts:290 |
viewport | Observable <ViewportState > | Viewport store | src/types/interfaces.ts:302 |