wrote:
Hi Eelco,
If I'm not mistaken, the previous/next month arrows just show the previous/next month so the user can select a new date, but there's no actual date selected yet. So it makes perfectly sense imho that there's no event fired for that.
Hi Kilian,
Thanks for your reply but I do have a situation where it does make sense:
The calendar shows events in the selected month.
Whenever I select the date, the second block displays the event information and because it can be several events on 1 day, it displays them in a list group.
When the user selects a different date, the list group is automatically refreshed with the event details of that day, which of course can also be none.
But what happens if the user selected a date with events and then switches the months, then the event details remain in the list group/block but there is no date selected hence the days in that month do not relate to the events.
This gives the user wrong information.
So there is a situation where is make sense to refresh the second block data when the user switches months.
I'm thinking of making an overlay DIV with prev/next buttons on my own and then navigating to the screen over and over with a different calendar month start date but It is performance consuming, it would be much easier to trap the javascript event.
KR,
Eelco.