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:580
indexToItem{}Mapping of index to item. Used for mapping index in data source to item.DimensionCalc.indexToItemsrc/types/interfaces.ts:603
indexesnumber[]Array of indexes of visible items.DimensionCalc.indexessrc/types/interfaces.ts:575
originItemSizenumberRepresents the origin item size of the dimension.-src/types/interfaces.ts:638
positionIndexToItem{}Mapping of position to item. Used for mapping position in DOM to item.DimensionCalc.positionIndexToItemsrc/types/interfaces.ts:592
positionIndexesnumber[]Array of indexes of visible items. Used for mapping items to their position in DOM.DimensionCalc.positionIndexessrc/types/interfaces.ts:586
realSizenumberRepresents the real size of the dimension.-src/types/interfaces.ts:633
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:622
trimmednull | {}Object containing information about trimmed data. Used for hiding entities from visible data source.DimensionCalc.trimmedsrc/types/interfaces.ts:614

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