ASPxClientDashboardViewer.ItemSelectionChanged Event
Occurs after the selection within the dashboard item is changed.
Namespace: DevExpress.DashboardWeb.Scripts
Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll
Declaration
Event Data
The ItemSelectionChanged event's data class is ASPxClientDashboardItemSelectionChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ItemName | Gets the component name of the dashboard item for which the event was raised. |
The event data class exposes the following methods:
Method | Description |
---|---|
GetCurrentSelection() | Gets currently selected elements. |
Remarks
The ItemSelectionChanged event is raised after the selection within the dashboard item is changed. The selection can be changed in the following ways:
- the state of master filter item is changed by an end-user or using ASPxClientDashboardViewer‘s API (the ASPxClientDashboardViewer.SetMasterFilter or ASPxClientDashboardViewer.ClearMasterFilter methods);
- changing the selection within the dashboard item for which a custom visual interactivity is provided (using the ASPxClientDashboardViewer.ItemVisualInteractivity event).
The ASPxClientDashboardItemSelectionChangedEventArgs.ItemName property returns the name of the dashboard item for which the event was raised. Use the ASPxClientDashboardItemSelectionChangedEventArgs.GetCurrentSelection method to obtain the currently selected elements.