#109836
ivanpeevski
Participant

Hi Matias,

When making many changes at once you can use beginUpdate & endUpdate. When beginUpdate() is called, it prevents the grid from refreshing until endUpdate() is called. So you can apply the changes like this so that the grid is refreshed only once at the end:

grid.beginUpdate();
//changes here…
grid.endUpdate();

 

In general, when you use server-side CRUD you can also consider using virtualDataSource as in the example here – https://www.htmlelements.com/angular/demos/grid/server-side-crud/

 

Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/