Page 2 of 2

Re: datePicker cellRenderer

Posted: Fri Aug 02, 2024 7:48 am
by Animal

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:

Screenshot 2024-08-02 at 07.45.26.png
Screenshot 2024-08-02 at 07.45.26.png (879.88 KiB) Viewed 193 times

Re: datePicker cellRenderer

Posted: Fri Aug 02, 2024 5:32 pm
by orthobridge

We followed this steps, it doesn't work when the calendar initially loads, but when pick another date in the datePicker it works


Re: datePicker cellRenderer

Posted: Fri Aug 02, 2024 5:49 pm
by Animal

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)


Re: datePicker cellRenderer

Posted: Fri Aug 02, 2024 8:04 pm
by orthobridge

Thanks Animal, finally got it to work