@revolist/revogrid / DimensionCalc
Interface: DimensionCalc
Object containing information about calculated dimensions. Used for both columns and rows.
Extended by
Properties
Property | Type | Description | Defined in |
---|---|---|---|
count | number | Count of visible items. | src/types/interfaces.ts:579 |
indexToItem | {} | Mapping of index to item. Used for mapping index in data source to item. | src/types/interfaces.ts:602 |
indexes | number [] | Array of indexes of visible items. | src/types/interfaces.ts:574 |
positionIndexToItem | {} | Mapping of position to item. Used for mapping position in DOM to item. | src/types/interfaces.ts:591 |
positionIndexes | number [] | Array of indexes of visible items. Used for mapping items to their position in DOM. | src/types/interfaces.ts:585 |
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 | src/types/interfaces.ts:621 |
trimmed | null | {} | Object containing information about trimmed data. Used for hiding entities from visible data source. | src/types/interfaces.ts:613 |