-
2 Aug 2012 8:50 PM #1
Answered: ExtJS 4 grid update the grid after adding a new record
Answered: ExtJS 4 grid update the grid after adding a new record
Hi All,
I am working on Ext Grid. and I use proxy to do CRUD operations. But my problem is that, once I add the new row in grid, I am not able to update the grid with new record. Could anyone help me out in this or give me hint ? I am using Spring MVC, Mybatis.
Thanks.
J.M.
-
Best Answer Posted by Farish
reload the store on write event:
Code:store.on('write', function() { store.load(); });
-
3 Aug 2012 1:40 AM #2
reload the store on write event:
Code:store.on('write', function() { store.load(); });
-
6 Aug 2012 11:14 AM #3
Hi Farish,
Thanks for the information, I got it working by other code. I used store.sync() to sync with my server side code. Actually, I had to make changes in spring service code.
Thanks.
J.M.


Reply With Quote