Skip to content

@revolist/revogrid / DimensionCalc

Interface: DimensionCalc

Object containing information about calculated dimensions. Used for both columns and rows.

Extended by

Properties

PropertyTypeDescriptionDefined in
countnumberCount 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
indexesnumber[]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
positionIndexesnumber[]Array of indexes of visible items. Used for mapping items to their position in DOM.src/types/interfaces.ts:586
sizesViewSettingSizePropObject 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 sizesrc/types/interfaces.ts:622
trimmednull | {}Object containing information about trimmed data. Used for hiding entities from visible data source.src/types/interfaces.ts:614

Revogrid is a MIT-licensed open source library made by Revolist OU.