Skip to content

Scheduler - Virtual Scrolling #14285

@AntonSermyazhko

Description

@AntonSermyazhko

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

Virtual Scrolling sample

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions