In the Mobile version, what events are there that could be customizable?
I’m specifically trying to take some actions when the month changes. Something like:
$$("scheduler").$$("calendar").attachEvent("onAfterMonthChange", function(){....});
Is this possible? How would it be accomplished?
Thank you,
Rob
The method that you mention is correct to set onAfterMonthChange event for calendar in Month view:
$$(“scheduler”).$$(“calendar”).attachEvent(“onAfterMonthChange”, function(newDate,oldDate){
/your code here/
});
For any element you may set onItemClick event. If, for example, you want to take some action when item in day view clicked, you need to set the following:
$$(“scheduler”).$$(“dayList”).attachEvent(“onItemClick”,function(id){
/your code here/
})
What other events are you interested it ?
Alexandra,
Thank you. This is helpful. (And I got it to work, immediately after submitting this, but I also wanted to learn what other events are available for me.)
One event that would be useful is when the Day view loads = I’d like to be able to scroll down to a more relevant hour, like 8:00 (rather than 0:00). But still let the user scroll up, if that’s what they want.
I’ve tried to find the ‘next day’ and ‘previous day’ buttons with limited success. I can see where they are defined in the form, but not where the action is assigned to the button. But even the next/prev buttons wouldn’t affect the first day loaded.
Thank you,
Rob