Skip to content

RevoGrid Documentation v4.23.5 / 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:606
endnumberThe end of the range.ViewportStateItems.endsrc/types/interfaces.ts:574
itemsVirtualPositionItem[]The items in the viewport.ViewportStateItems.itemssrc/types/interfaces.ts:585
realCountnumberThe number of real items in the viewport.-src/types/interfaces.ts:595
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:613
startnumberThe start of the range.ViewportStateItems.startsrc/types/interfaces.ts:570
virtualSizenumberThe virtual size of the viewport.-src/types/interfaces.ts:599