@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:601 |
indexToItem | {} | Mapping of index to item. Used for mapping index in data source to item. | DimensionCalc .indexToItem | src/types/interfaces.ts:624 |
indexes | number [] | Array of indexes of visible items. | DimensionCalc .indexes | src/types/interfaces.ts:596 |
originItemSize | number | Represents the origin item size of the dimension. | - | src/types/interfaces.ts:659 |
positionIndexToItem | {} | Mapping of position to item. Used for mapping position in DOM to item. | DimensionCalc .positionIndexToItem | src/types/interfaces.ts:613 |
positionIndexes | number [] | Array of indexes of visible items. Used for mapping items to their position in DOM. | DimensionCalc .positionIndexes | src/types/interfaces.ts:607 |
realSize | number | Represents the real size of the dimension. | - | src/types/interfaces.ts:654 |
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:643 |
trimmed | null | {} | Object containing information about trimmed data. Used for hiding entities from visible data source. | DimensionCalc .trimmed | src/types/interfaces.ts:635 |