You can get that all loaded into a Store
automatically. The CrudManager
can be configured with extra stores in addition to the eventStore
, timeRangeStore
etc.
Here's how I got it working:
How are you loading it?
It should refresh the DatePicker whenever a view asks the EventStore
for a block of events to render.
That's what the dateRangeRequested
event is. It is fired initially by the EventStore
whenever any view asks it for data.
If you put a debugger breakpoint in that handler, when does it first get there? (it will get there a lot, but the refresh
call is cheap, and you want it to stay up to date)