Im using the calendar sample, and I need to add a function in the month view, I’m using heavy files to load the data, so i can’t load a whole month in one time. In the day view I add function to the left and right buttons so I load a new Json everytime that are pressed.
I need to do the same in the month view, load a new Json file everytime a day is selected in the month view, but I can’t find the sample to do it
the days with events should be marked in calendar. In this case, a user will know that a certain date has got assigned events. So, I’m not sure that loading only day events is a good idea.
By the way, to proccess the click on calendar day you may use the following approach:
After the events are loaded you need to call $$(“scheduler”).setDate(date) method to call private methods that will show events in the list below calendar.