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

ASPxDashboard.ConfigureItemDataCalculation Event

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

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v20.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

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 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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConfigureItemDataCalculation event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also