@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:580 |
indexToItem | {} | Mapping of index to item. Used for mapping index in data source to item. | src/types/interfaces.ts:603 |
indexes | number [] | Array of indexes of visible items. | src/types/interfaces.ts:575 |
positionIndexToItem | {} | Mapping of position to item. Used for mapping position in DOM to item. | src/types/interfaces.ts:592 |
positionIndexes | number [] | Array of indexes of visible items. Used for mapping items to their position in DOM. | src/types/interfaces.ts:586 |
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:622 |
trimmed | null | {} | Object containing information about trimmed data. Used for hiding entities from visible data source. | src/types/interfaces.ts:614 |