Hi,
I have a grid that shows a logging table and needs to be refreshed every 5 seconds or so.
I do this using
And this works, but it clears the grid before the data is fetched from the server.
The round trip to the server takes about four seconds so I end up with the grid showing the data for a second, then empty with loading message for four seconds.
Is there a way to only refresh after the data has been fetched?
Meindert
I have a grid that shows a logging table and needs to be refreshed every 5 seconds or so.
I do this using
Code:
dataGrid.invalidateCache();
The round trip to the server takes about four seconds so I end up with the grid showing the data for a second, then empty with loading message for four seconds.
Is there a way to only refresh after the data has been fetched?
Meindert
Comment