Skip to main content

ASPxClientScheduler.SelectionChanged Event

Fires on the client side when the time cell selection is changed.

Declaration

SelectionChanged: ASPxClientEvent<ASPxClientEventHandler<ASPxClientScheduler>>

Event Data

The SelectionChanged event's data class is ASPxClientEventArgs.

Remarks

This event occurs after a time cell selection is changed. To get the selection before it is changed, handle the ASPxClientScheduler.SelectionChanging event.

The following example illustrates how to extend the currently selected interval for a single time slot.

function OnSelectionChanged(s, e) {  
    var selectedInterval = clientScheduler.GetSelectedInterval();  
    selectedInterval.SetDuration(selectedInterval.GetDuration() * 2); 
    ...
}
See Also