1. #1
    Ext User
    Join Date
    Dec 2009
    Posts
    23
    Vote Rating
    0
    pclovec is on a distinguished road

      0  

    Default how to clear store.modified data after save the data!

    how to clear store.modified data after save the data!


    now i uses
    1. var modified = store.modified;
    2. updateData(modified);
    to save data. but after first operation . such as second time save data ,i got duplicate data. it also send me all before change data.

    i try to use store.modified=[] after updateData function seems doesn't work .

    so how to clear or remove all modified data from store.

    thanks

  2. #2
    Ext User
    Join Date
    Dec 2009
    Posts
    23
    Vote Rating
    0
    pclovec is on a distinguished road

      0  

    Default i fixed it use commitchanges() is works

    i fixed it use commitchanges() is works


    store.commitChanges()

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    5
    Vote Rating
    0
    logive is on a distinguished road

      0  

    Red face store.modified=[]; is working

    store.modified=[]; is working


    {
    text: 'save',
    iconCls: 'save',
    handler : function(){
    var modified = store.modified;
                updateData(modified);
    store.modified=[];
    }
    }

  4. #4
    Sencha User
    Join Date
    Apr 2011
    Posts
    5
    Vote Rating
    0
    logive is on a distinguished road

      0  

    Default store.rejectChanges () ;

    store.rejectChanges () ;


    store.rejectChanges () ;

Thread Participants: 1

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