In the next version, simply myCalendar.nonWorkingDays['1'] = true
will work.
See how Monday disappears from all views as soon as the prop is set.
All will be fixed.
In the next version, simply myCalendar.nonWorkingDays['1'] = true
will work.
See how Monday disappears from all views as soon as the prop is set.
All will be fixed.
I'll make Calendar
observe its nonWorkingDays
object and update on mutation in the next version. It's a much easier way for app developers. Keep that code and it will soon work.
OK, You are mutating the object. It does work if you set the object:
myCalendar.nonWorkingDays = {1 : 1, 2 : 1};
That will make Mondays and Tuesdays disappear from all views.
Changing nonWorkingDays
dynamically should definitely work. I will add that to the current batch of fixes.
I think there's some CSS from outside of Bryntum affecting things:
Also, do you need the "Hoehe" slider? CTRL+mousewheel
zooms the hour height in and out.
And... crashes? That['s a new thing. What is the error?
It's on an iPad as you can see. Can't really run a complex thing like a scheduler on a phone.