ASPxGridBase.SelectionChanged Event
Fires when the row selection changes.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Event Data
The SelectionChanged event's data class is EventArgs.
Remarks
The SelectionChanged
event fires in the following cases:
- A user selects or deselect rows in the UI.
- You use the API to change the row selection on the client or server side.
To allow the control to raise the server-side SelectionChanged
event, use one of the following options:
In the client-side
SelectionChanged
event handler, set the processOnServer property totrue
. In this case, the control raises the client-side event and then raises the server-sideSelectionChanged
event.Set the ProcessSelectionChangedOnServer property to
true
. In this case, the client-side event does not fire.
For more information on row selection in a particular control, refer to the following topics: