Raised when a calendar header is double-clicked.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
EventDispatcher headerDoubleClick |
The event handler method receives the following arguments:
sender
A Calendar instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A HeaderEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following example attaches a handler to the headerDoubleClick event of a calendar. In the handler method we check if type of the header double-clicked was the timeline and if yes, we change the calendar view to timetable.
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // attach a handler - when a calendar header is double-clicked function handleHeaderDoubleClick(sender, args) { |