-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Scheduler - Virtual Scrolling
The Problem
Scheduler users may experience performance issues if a Scheduler view contains many resources, groups, or appointments.
The Proposed Solution
We will implement Virtual Scrolling. In this mode, our Scheduler renders only visible UI elements within a view. Once a UI element leaves the visible view area, the Scheduler removes it from the DOM. This reduces the DOM size and significantly improves performance.
The Virtual Scrolling API allows developers to do the following:
- Set the scrolling mode for the whole widget:
scrolling: { mode: 'standard' || 'virtual' } - Set the scrolling mode for an individual view:
views: [ { …, scrolling: { mode: 'standard' || 'virtual' } } ]mode's value can be either of the following strings:
-
standard- rows and appointments are rendered simultaneously. -
virtual- rows and appointments are rendered when they get into the viewport and removed once they leave it.
Try It
Live Sandboxes
We Need Your Feedback
Take a Quick Poll
Do you find virtual scrolling in the Scheduler useful?
Get Notified of Updates
Subscribe to this thread or to our Facebook and Twitter accounts for updates on this topic.