brixxbox Wiki
Ask or search…
K

refreshDataSource

Refreshes the content of a single control based on its DataSource (not the SubDataSource!). If outside parameters have changed, you can force the brixxbox to reload the content of that control.

Parameters

1. controlId - (optional) id of the control, that you want to reload. If this is empty, all controls with datasources are refreshed.

Example Usages

brixxApi.refreshDataSource("myControlId"); //Refreshes just "myControlId"
brixxApi.refreshDataSource(); //Refreshes all Controls with a DataSource in the app