Raised when an item is drawn.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
EventDispatcher itemDraw |
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 code shows how to handle the itemDraw event:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // attach a handler - when a calendar item is drawn function handleItemDraw(sender, args) { |