DashboardConfigurator.ConfigureItemDataCalculation Event
Allows you to configure how the dashboard item’s client data is calculated.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v20.2.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
Declaration
Event Data
The ConfigureItemDataCalculation event's data class is ConfigureItemDataCalculationWebEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
CalculateAllTotals | Gets or sets whether to calculate totals that are not displayed in the dashboard item. |
DashboardId | Gets a dashboard identifier. |
ItemComponentName | Gets the component name of the dashboard item. |
Remarks
Important
To learn how to use the DashboardConfigurator‘s API, see the Server-Side API Overview topic.
The ConfigureItemDataCalculation event is raised for the data-aware dashboard items. For example, you can specify whether to calculate totals that are not displayed in the dashboard item. For this, use the ConfigureItemDataCalculationWebEventArgs.CalculateAllTotals property.
The ConfigureItemDataCalculationWebEventArgs.DashboardId property allows you to get a dashboard identifier, and the ConfigureItemDataCalculationWebEventArgs.ItemComponentName property is used to get the component name of the dashboard item.
For displayed values, you can obtain hidden measures values regardless of the ConfigureItemDataCalculationWebEventArgs.CalculateAllTotals property’s value.