Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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