Redraw calendar on date change

In the demo at https://demo.mobiscroll.com/javascript/scheduler/show-hide-hours-days# you’re changing the visible hours based on the user input. Is there an action you’re calling to redraw the calendar? I’m trying something similar but when I update the start / end date variables it doesn’t affect the calendar

Hi @Tim_Kramer,

In this case, you need to use the setOptions method and inside this, you can update the view option. For example:

inst.setOptions({
  view: { ... }
});