Skip to content

@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

PropertyTypeDescriptionInherited fromDefined in
countnumberCount of visible items.DimensionCalc.countsrc/types/interfaces.ts:579
indexToItem{}Mapping of index to item. Used for mapping index in data source to item.DimensionCalc.indexToItemsrc/types/interfaces.ts:602
indexesnumber[]Array of indexes of visible items.DimensionCalc.indexessrc/types/interfaces.ts:574
originItemSizenumberRepresents the origin item size of the dimension.-src/types/interfaces.ts:637
positionIndexToItem{}Mapping of position to item. Used for mapping position in DOM to item.DimensionCalc.positionIndexToItemsrc/types/interfaces.ts:591
positionIndexesnumber[]Array of indexes of visible items. Used for mapping items to their position in DOM.DimensionCalc.positionIndexessrc/types/interfaces.ts:585
realSizenumberRepresents the real size of the dimension.-src/types/interfaces.ts:632
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 sizeDimensionCalc.sizessrc/types/interfaces.ts:621
trimmednull | {}Object containing information about trimmed data. Used for hiding entities from visible data source.DimensionCalc.trimmedsrc/types/interfaces.ts:613

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