@revolist/revogrid / DimensionSettingsState
Interface: DimensionSettingsState
Represents the settings state of a dimension. It extends the calculation properties of a dimension. It also includes the real size and origin item size of the dimension.
Extends
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
count | number | Count of visible items. | DimensionCalc .count | src/types/interfaces.ts:580 |
indexToItem | {} | Mapping of index to item. Used for mapping index in data source to item. | DimensionCalc .indexToItem | src/types/interfaces.ts:603 |
indexes | number [] | Array of indexes of visible items. | DimensionCalc .indexes | src/types/interfaces.ts:575 |
originItemSize | number | Represents the origin item size of the dimension. | - | src/types/interfaces.ts:638 |
positionIndexToItem | {} | Mapping of position to item. Used for mapping position in DOM to item. | DimensionCalc .positionIndexToItem | src/types/interfaces.ts:592 |
positionIndexes | number [] | Array of indexes of visible items. Used for mapping items to their position in DOM. | DimensionCalc .positionIndexes | src/types/interfaces.ts:586 |
realSize | number | Represents the real size of the dimension. | - | src/types/interfaces.ts:633 |
sizes | ViewSettingSizeProp | Object containing size for each visible item. * provider stores only changed sizes, not all of them * same as indexes but for sizes and positions * virtual item index to size | DimensionCalc .sizes | src/types/interfaces.ts:622 |
trimmed | null | {} | Object containing information about trimmed data. Used for hiding entities from visible data source. | DimensionCalc .trimmed | src/types/interfaces.ts:614 |