PDA

View Full Version : ExtJS 4 grid update the grid after adding a new record



jenis35@yahoo.co.in
2 Aug 2012, 8:50 PM
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.

Farish
3 Aug 2012, 1:40 AM
reload the store on write event:


store.on('write', function() {
store.load();
});

jenis35@yahoo.co.in
6 Aug 2012, 11:14 AM
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.