Search
Calendar.itemSelectionChanged Event
See Also
 






Raised when a selection of items changes.

Namespace: MindFusion.Scheduling
File: Calendar.js

 Syntax

JavaScript  Copy Code

EventDispatcher itemSelectionChanged

 Event Data

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 NotifyCollectionChangedEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.

 Example

The following code shows you how to attach an event handler to the itemSelectionChanged event.

JavaScript  Copy Code

var p = MindFusion.Scheduling;

// attach a handler - the selection of items has changed.
calendar.itemSelectionChanged.addEventListener(handleItemSelectionChanged);

function handleItemitemSelectionChanged(sender, args) {
           //do something
            ...............
     
}

 See Also