Sch.model.SchedulingView, missing docs

Ask for help relating to our Sencha Touch based Scheduler (for iPad, or any other supported phone, phablet or tablet)
Post Reply
User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Sch.model.SchedulingView, missing docs

Post 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 ?

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Sch.model.SchedulingView, missing docs

Post by mats »

You don't need any config property to use that method.

Code: Select all

scheduler.getSchedulingView().repaintEventsForResource(resource)
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: Sch.model.SchedulingView, missing docs

Post by pincherhgz »

thanks

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Sch.model.SchedulingView, missing docs

Post by mats »

Why do you need that method if I may ask?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: Sch.model.SchedulingView, missing docs

Post 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

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: Sch.model.SchedulingView, missing docs

Post by pincherhgz »

is there another/better way to do that ? our tests show that it works as expected

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Sch.model.SchedulingView, missing docs

Post by mats »

Can't say without seeing the code, probably all is fine.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply