I do not find this feature in docs. If i try to change
first_hour, last_hour
configs dynamically (after initialize) i can see nothing changed.
You need to refresh the scheduler for any change after initialization.
scheduler.updateView(scheduler.getState().date, scheduler.getState().mode);
…should do the trick. The parameters are not needed, but I use them so the scheduler would refresh on the last date and view I was on.
Hi,
probably would be better to use scheduler.setCurrentView(). It triggers onBeforeViewChange and onViewChange events, which may needed for correct work of some extensions. updateView doesn’t fire any of those, so unless you explicitly need to redraw calendar silently you it’s better use setCurrentView
docs.dhtmlx.com/scheduler/api__s … tview.html
Noted. Thanks for the information.