Page 1 of 1

Sch.model.SchedulingView, missing docs

Posted: Wed Nov 19, 2014 9:00 pm
by pincherhgz
we want to use the method repaintEventsForResource of Sch.model.SchedulingView. In the docs it is written:

... Configure this class by using the viewConfig property on the Scheduler Panel...

but we cannot find any configuration like this. Where can we find that ?

Re: Sch.model.SchedulingView, missing docs

Posted: Wed Nov 19, 2014 10:13 pm
by mats
You don't need any config property to use that method.

Code: Select all

scheduler.getSchedulingView().repaintEventsForResource(resource)

Re: Sch.model.SchedulingView, missing docs

Posted: Wed Nov 19, 2014 10:45 pm
by pincherhgz
thanks

Re: Sch.model.SchedulingView, missing docs

Posted: Wed Nov 19, 2014 10:48 pm
by mats
Why do you need that method if I may ask?

Re: Sch.model.SchedulingView, missing docs

Posted: Wed Nov 19, 2014 10:52 pm
by pincherhgz
we are using an xTemplate to layout our events. The contents to be displayed changes dynamically while the scheduler is opened. We are able to update the display of the event using this method

Re: Sch.model.SchedulingView, missing docs

Posted: Thu Nov 20, 2014 1:58 pm
by pincherhgz
is there another/better way to do that ? our tests show that it works as expected

Re: Sch.model.SchedulingView, missing docs

Posted: Thu Nov 20, 2014 2:16 pm
by mats
Can't say without seeing the code, probably all is fine.