Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
What is the best way to load a new set of data into the grid?
posted

Within our application, users can navigate to different records without having to reload the web page; we just populate the data in all of the UI elements with the requested record's information.

The problem that we are having with the angular grid is that the user has to mouse over the grid in order to see the updated changes, which is not intuitive.

We have tried using the internal method refreshGridState and that does cause the data to reload, but it also has a nasty side effect of losing all of the column configuration (i.e. captions, visible, etc).

The grid is bound to a simple data array, which we picked up from the samples, but I strongly suspect this is not the correct approach for our scenario.

Is there a recommendation on a better approach to this? Is there anything else that we need to be aware of with this approach (i.e. clearing transactions?) (we already clear row selections and filters before assigning to the data array).

Parents Reply Children
No Data