Hello,
I want to make a "refresh all" button which will loop on all datasources and refresh its data, hopefully forcing all components to also update data.
What i have tried is something like this:
Is this the correct way of doing it?
Unfortunately it's not working. I don't get any errors but listgrids connected to this datasource don't update.
Thanks!
I want to make a "refresh all" button which will loop on all datasources and refresh its data, hopefully forcing all components to also update data.
What i have tried is something like this:
Code:
myDataSource.fetchData(null, function(dsResponse) { myDataSource.updateCaches(dsResponse); });
Unfortunately it's not working. I don't get any errors but listgrids connected to this datasource don't update.
Thanks!