TdxCustomDashboardControl.ReloadData Method
Reloads data from all underlying data sources on demand and updates dashboard content.
Declaration
procedure ReloadData; virtual;
Remarks
Dashboard items (grids, maps, charts, etc.) defined in the dashboard layout can use multiple data sources bound using data connection components.
Data connection components automatically reload and re-serialize data from underlying data sources every time the TdxDashboardControl/TdxReport component starts to import data for design, preview, and export operations. If data changes within an underlying data source/database between these operations, dashboard content is not updated automatically.
To update cached data from underlying data sources and refresh dashboard content on demand, call the ReloadData procedure.
ReloadData and VCL-Compatible Datasets
A ReloadData procedure call refreshes serialized data accessible through the ConnectionString property for all TdxBackendDataSetJSONConnection components with enabled Active and AutoRefreshData properties.