Sch.model.Event visibility support
- ars_adnovate
- Posts: 3
- Joined: Thu Mar 12, 2015 11:40 am
Sch.model.Event visibility support
Hi there,
In Sch.model.Event (http://www.bryntum.com/docs/touch-sched ... odel.Event) it would be great to have additional Visible field and setVisible(), isVisible() methods which are bound to view
or at least could anyone please give a clue how to emulate this behaviour in a correct manner.
Thanks.
In Sch.model.Event (http://www.bryntum.com/docs/touch-sched ... odel.Event) it would be great to have additional Visible field and setVisible(), isVisible() methods which are bound to view
or at least could anyone please give a clue how to emulate this behaviour in a correct manner.
Thanks.
Re: Sch.model.Event visibility support
Remember, the Sch.model.Event is a *data* class - it has no clue about being visible or not. What are you trying to achieve?
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
@bryntum
API documentation
- ars_adnovate
- Posts: 3
- Joined: Thu Mar 12, 2015 11:40 am
Re: Sch.model.Event visibility support
Well, not really data, because it already contains Cls class.
I'm just trying to show/hide a specific event without removing the whole record from store.
I'm just trying to show/hide a specific event without removing the whole record from store.
Re: Sch.model.Event visibility support
Filter the store then, or use the Cls field to achieve what you need. Very easy 

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
@bryntum
API documentation
- ars_adnovate
- Posts: 3
- Joined: Thu Mar 12, 2015 11:40 am
Re: Sch.model.Event visibility support
Filter store ? Could you please point on the correct property/method/class ?
Re: Sch.model.Event visibility support
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
@bryntum
API documentation