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

DashboardConfigurator.ConfigureItemDataCalculation Event

Allows you to configure how the dashboard item's client data is calculated.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.1.Web.dll


public event ConfigureItemDataCalculationWebEventHandler ConfigureItemDataCalculation
Public Event ConfigureItemDataCalculation As ConfigureItemDataCalculationWebEventHandler

Event Data

The ConfigureItemDataCalculation event handler receives an argument of the ConfigureItemDataCalculationWebEventArgs type. 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.



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.

See Also