search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Slow in rendering cells

Asked by Ashish Ullah Khan
6 years ago.

Hello,
I am using DPS in AngularJS. In my DPS there are 100 resources and 15 days in column for which timeHeaders is configured in Hourly view. It takes too much time to render the DPS in Chrome and after rendering, my whole application performed very slowly. I also manage cell width to fit all cells in a page to stop horizontal scrollbar

Thanks in Advance

Answer posted by Dan Letecky [DayPilot]
6 years ago.

The Scheduler is optimized and it only renders the cells for the current viewport. However, this configuration extends the viewport to the whole grid and it displays all 100*15*24 = 60,000 cells at once. No browser is able to render it fast.

You need to limit the viewport vertically (this will also let you fix the headers during scrolling):
https://doc.daypilot.org/scheduler/height/

A timeline of 15*24 = 600 cells (horizontally) - when displayed on a single screen - will not only make the rendering slow but it also makes the content unreadable - I recommend using scale: "Day" instead.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.