I would like to have a documentation for these 2 methods ...
I figured out, that you can set some values with the get_agendaViewSettings() method eg. get_agendaViewSettings().numberOfDays = 30;
I don't know how to use the set_agendaViewSettings().
6 Answers, 1 is accepted
The set_agendaViewSettings method is used to deserialize the settings object form the server, when the Scheduler is initialized. If you need to change some of the settings, you can do it through the get_agendaViewSettings method, as you pointed out.
An other question:
I have a scheduler with webservice binding. After clicking on a grid row I want to change the scheduler settings like:
2.) rs.set_selectedDate(min); // min = some date
The problem is, that the 1. and 2. command triggers a rebind (ClientAppointmentsPopulating) of the scheduler. (That's too much!)
Can I prevent the scheduler from rebinding?
Try calling the set_selectedDate method first, and passing "true" as a second parameter to the set_selectedView method:
The following code should work:
Great! It works for me! (scheduler.set_selectedDate(new Date());)