Raised when an item is clicked.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
EventDispatcher itemClick |
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
An ItemEventArgs 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 itemClick event of a calendar. In the handler method we check if the subject of the clicked item is "Management Conference".
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // attach a handler - when a calendar item is clicked function handleItemClick(sender, args) { |