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:579
indexToItem{}Mapping of index to item. Used for mapping index in data source to item.src/types/interfaces.ts:602
indexesnumber[]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
positionIndexesnumber[]Array of indexes of visible items. Used for mapping items to their position in DOM.src/types/interfaces.ts:585
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:621
trimmednull | {}Object containing information about trimmed data. Used for hiding entities from visible data source.src/types/interfaces.ts:613

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