Skip to main content
A newer version of this page is available. .

DashboardConfigurator.ConfigureItemDataCalculation Event

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

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v21.2.Web.dll

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

public event ConfigureItemDataCalculationWebEventHandler ConfigureItemDataCalculation

Event Data

The ConfigureItemDataCalculation event's data class is ConfigureItemDataCalculationWebEventArgs. The following properties provide information specific to this event:

Property Description
CalculateAllTotals Inherited from ConfigureItemDataCalculationEventArgs.
DashboardId Gets a dashboard identifier.
ItemComponentName Inherited from ConfigureItemDataCalculationEventArgs.

Remarks

Tip

For information on how to use the DashboardConfigurator‘s API, see the following topic: Server-Side API Overview.

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 ConfigureItemDataCalculationEventArgs.CalculateAllTotals property.

The ConfigureItemDataCalculationWebEventArgs.DashboardId property allows you to get a dashboard identifier, and the ConfigureItemDataCalculationEventArgs.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 ConfigureItemDataCalculationEventArgs.CalculateAllTotals property’s value.

See Also