-
how to clear store.modified data after save the data!
how to clear store.modified data after save the data!
now i uses - var modified = store.modified;
- 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
-
i fixed it use commitchanges() is works
i fixed it use commitchanges() is works
-
store.modified=[]; is working
store.modified=[]; is working
{
text: 'save',
iconCls: 'save',
handler : function(){
var modified = store.modified;
updateData(modified);
store.modified=[];
}
}
-
store.rejectChanges () ;
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us