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

Dashboard.DataLoading Event

Allows you to provide data for the DashboardObjectDataSource.

Namespace: DevExpress.DashboardCommon

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

Declaration

public event DashboardDataLoadingEventHandler DataLoading
Public Event DataLoading As DashboardDataLoadingEventHandler

Event Data

The DataLoading event handler receives an argument of the DashboardDataLoadingEventArgs type. The following properties provide information specific to this event.

Property Description
Data Gets or sets data for the current data source.
DataSource Obtains the data source that provides data for the dashboard.
(Inherited from DataSourceEventArgs)
Parameters Provides access to dashboard parameters required to modify your data query.

Remarks

Allows you to provide data for the DashboardObjectDataSource.

The DataLoading event is raised when the dashboard needs to load data from a data source of the DashboardObjectDataSource type. Use the e.Data property to provide data for this data source. This object should implement the IEnumerable or IListSource interface. Use the e.Parameters property to obtain dashboard parameters required to modify your data query.

Tip

You can subscribe to this event and subsequently load a dashboard bound to an object data source. The event fires and enables you to supply data to the loaded dashboard.

For other data source types (for instance, DashboardSqlDataSource or DashboardOlapDataSource), you can handle the Dashboard.ConfigureDataConnection event to customize connection parameters.

See Also