Skip to main content

ASPxDashboard.ConfigureItemDataCalculation Event

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

Namespace: DevExpress.DashboardWeb

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

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

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.

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