Hi Peter,
Each call of the ‘updaterow’, ‘addrow’ or ‘deleterow’ method will refresh the Grid. As far as I understand, you need a behavior which works as a transaction, i.e add, update or delete many rows simultaneously and update the Grid after the end of the transaction. This logic, unfortunately is currently not implemented in the Grid.
The following is after the release of jQWidgets 2.0:
Before adding, deleting or updating many data records, you will have to call the ‘beginupdate’ method and after the update, call the ‘resumeupdate’ method to refresh the Grid.
$("#jqxgrid").jqxGrid('beginupdate'); for (var x = 0; x < 100; x++) { var datarow = generaterow(); $("#jqxgrid").jqxGrid('addrow', null, datarow); } $("#jqxgrid").jqxGrid('resumeupdate');
Best Regerds,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com