Raised when a calendar time cell is clicked.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
EventDispatcher cellClick |
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 CellEventArgs 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 cellClick event of a calendar. In the handler method we check if the resource associated with the clicked cell is called Roger Powell.
JavaScript Copy Code |
---|
// attach a handler - click of a calendar cell function handleCellClick(sender, args) { |