I have few grids on a page. After I edit data in them I press Save button, collect all changes and build Ajax request with changes to server. All works fine, except one thing. After data successfully updated I need to tell grid to redraw and refresh it store, means remove updated / created records from store ( changes displayed as red rectangles in top left corner ).
If I try to remove all records and fill them again I get some ExtJS error: Uncaught TypeError: Cannot read property 'internalId' of undefined callstack:
Is there any other way to do it correctly ?
to simply redraw the grid and get rid of those red rectangles ... just use commit() function for the records that have been updated or created. This normally should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With