PDA

View Full Version : [CLOSED] EventStore AutoLoad=false not work?



softmachine2011
Aug 28, 2012, 11:44 AM
Hi,

Maybe the autoload of EventStore, if false, is not working?

Greetings,

Daniil
Aug 28, 2012, 11:45 AM
Hi,

Actually, it works. But the initially activated view initiates a load request.

softmachine2011
Aug 28, 2012, 11:51 AM
How can I avoid this behaviour and load events on demand?

Daniil
Aug 28, 2012, 12:31 PM
1. No active view.

or

2. Override the Calendar JavaScript sources.

The base class for all views is the Ext.calendar.view.AbstractCalendar one. There is the setStartDate function. If the third argument is true, the Store is reload. This method with true third argument is called within the Ext.calendar.CalendarPanel class. I think it might be difficult to override and don't break anything.

or

3. Filter the events.
http://forums.ext.net/showthread.php?18944