w2grid.mergeChanges

Merges user changes into the records array.
mergeChanges()
Returns undefined.

Description

This method will only work if you define inline editing in the grid and there are changes that user entered. All changes are tracked in the changes object, which becomes part of the record in the .records array. The record will also have changed indicate if original record was changed.
You can get all the changes by calling .getChanges() method.
If you have following grid: And user changed records, you can

User Comments

comments powered by Disqus