Are there any events that fire before and after the view for picking date for an event? Just after one date is clicked and just before the calendar is shown.
Something like onBeforeFormdateShow
Are there any events that fire before and after the view for picking date for an event? Just after one date is clicked and just before the calendar is shown.
Something like onBeforeFormdateShow
Hi,
here are these event handlers:
$$("scheduler").$$("start_date").attachEvent("onItemClick",function(){
// start date
});
$$("scheduler").$$("end_date").attachEvent("onItemClick",function(){
// end date
});
Thanks, but what about the moment the calendar is closed, and I return to the form view?
Try the following:
$$("scheduler").$$("views").attachEvent("onViewChange",function(view1,view2){
view1 = $$("scheduler").innerId(view1);
view2 = $$("scheduler").innerId(view2);
if(view1 == "formdate" && view2=="form"){
// your code
}
});