Skip to content

RevoGrid Documentation v4.26.1 / ViewportState

Interface: ViewportState

ViewportState is an object that represents the state of a viewport.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
clientSizenumberThe client size of the viewport. Usually it's same as virtual size. Until virtualization is not disabled.-src/types/interfaces.ts:609
endnumberThe end of the range.ViewportStateItems.endsrc/types/interfaces.ts:577
itemsVirtualPositionItem[]The items in the viewport.ViewportStateItems.itemssrc/types/interfaces.ts:588
realCountnumberThe number of real items in the viewport.-src/types/interfaces.ts:598
renderOffset?numberDifference between logical coordinate and browser-safe rendered coordinate. Internal scroll virtualization offset used when content exceeds browser native scroll size limits.-src/types/interfaces.ts:616
startnumberThe start of the range.ViewportStateItems.startsrc/types/interfaces.ts:573
virtualSizenumberThe virtual size of the viewport.-src/types/interfaces.ts:602