Raised when the selection collection is changing.
Namespace: MindFusion.Common.UI
File: ListContainer.js
JavaScript Copy Code |
---|
EventDispatcher selectionChanging |
The event handler method receives the following arguments:
sender
A ListContainer instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A NotifyCollectionChangingEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following code creates a ListView, which derives from ListContainer and handles its selectionChanging event:
JavaScript Copy Code |
---|
var listView = new ui.ListView(document.getElementById("listView")); function listSelectionChanging(sender, args) |