Create new timeline view

Here’s the thing…

I start the scheduler with a certain data (sections, schedules), but when I change the start/end dates I might have other data (new sections and new schedules).

I can set the new sections by doing scheduler.matrix.timeline.y_unit = data.sections; but then the new sections (diferent from the previous) are not loaded.

If I create a new timeline view they are loaded, but then the scales have the double of the size.

Before


After


So, how can I set the new timeline view without ruining it?

Hello,

Try updating your list of section using updateCollection function.

Kind regards,
Ilya

Thank you! :smiley: