The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientEventArgs type.

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