TdxBackendDataSetJSONConnection.AutoRefreshData Property
Specifies if the data connection component automatically refreshes data from associated datasets.
Declaration
property AutoRefreshData: Boolean read; write; default True;
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | True | Specifies if cached data is automatically updated from underlying datasets (TDataSet descendant instances):
Note Data refresh operations may take a noticeable amount of time and have significant memory footprint depending on the number and size of associated datasets.
Tip This option may be useful if source data does not change at runtime. |
Remarks
You can set the AutoRefreshData property to False to speed up data population if source datasets remain unchanged during the current session.
Refresh Data on Demand
You can call the following procedures to reload data and update content on demand when the AutoRefreshData property is set to True:
- TdxCustomDashboardControl.ReloadData
- Reloads data from all underlying data sources on demand and updates dashboard content.
- TdxCustomReportControl.ReloadData
- Reloads data from all underlying data sources on demand and updates report content.
Default Value
The AutoRefreshData property’s default value is True.