Describe the bug
I am tyrying to reset data in timeline or destroy the whole app, but it seems that has no effect, while function scrollToTime works.
There are almost 300 rows and over 5000 items.
To Reproduce
Steps to reproduce the behavior:
var schedule = GSTC(element, state);
...
//DOES NOT WORK
schedule.state.update('config.list.rows', allRows);
schedule.state.update('config.chart.items', allItems);
schedule.app.destroy();
//WORKS
schedule.api.scrollToTime(new Date(currentYear, currentMonth, currentDay));
Expected behavior
Update timeline after set new rows/items and, if necessary, destroy.
Desktop (please complete the following information):
- Browser: chrome 83.0.4103.97
Describe the bug
I am tyrying to reset data in timeline or destroy the whole app, but it seems that has no effect, while function scrollToTime works.
There are almost 300 rows and over 5000 items.
To Reproduce
Steps to reproduce the behavior:
var schedule = GSTC(element, state);
...
//DOES NOT WORK
schedule.state.update('config.list.rows', allRows);
schedule.state.update('config.chart.items', allItems);
schedule.app.destroy();
//WORKS
schedule.api.scrollToTime(new Date(currentYear, currentMonth, currentDay));
Expected behavior
Update timeline after set new rows/items and, if necessary, destroy.
Desktop (please complete the following information):