1. #1
    Sencha User
    Join Date
    Jul 2012
    Location
    USA
    Posts
    29
    Answers
    2
    Vote Rating
    0
    jenis35@yahoo.co.in is on a distinguished road

      0  

    Default 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.

  2. reload the store on write event:

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

  3. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,084
    Answers
    112
    Vote Rating
    95
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      2  

    Default


    reload the store on write event:

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

  4. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    USA
    Posts
    29
    Answers
    2
    Vote Rating
    0
    jenis35@yahoo.co.in is on a distinguished road

      0  

    Default


    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.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi