Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tom on Jul 09, 2009 07:07
open dhtmlx forum
dhtmlXScheduler

What is the recommended approach for performing non-interfering actions linked to the selection of an event in the calendar? Attaching a handler to the onClick event causes the console menu to the left of the event to no longer display. A common use case would be where a preview pane would be rendered at the side or bottom to display additional information about the selected event.
Answer posted by Support on Jul 09, 2009 07:30
You can use onClick event , just be sure to return true from event handler , any other value returned from event will block default behavior.


scheduler.attachEvent("onClick",function(some){
            ... custom code ...
            return true;
});