Answered: LocalStorage and SyncStore deleted records
Answered: LocalStorage and SyncStore deleted records
I'm new to io and I was wondering why when a record is deleted from my syncStore it still appears on my localStorage in the console. When I call the store from console it shows the data without the deleted entries. Everything seems to work however I'm still seeing data in localStorage. It seems after a while of use this would fill up my localStorage. Am I missing something?
Ext.Msg.confirm(
"Confirm",
"Do you wish to delete roll?",
function(button){
if (button == 'yes') {
var store = Ext.getStore('Rolls');
store.remove(record);
store.sync();
store.load();
} else {
return false;
}
});
Update:
I read the below post by elienajem22 about deleting records from the syncStore and it appears that records are not deleted from localStorage. I'm still wondering how this comes into play. Can you somehow recover those records or delete them permanently?