Getting error when loading store data After ajax request returning data.
Error - TypeError: record.unjoin is not a function
Here is my code -

var invStore = Ext.data.StoreManager.lookup('invoice');
var rec = Ext.decode(response.responseText);
invStore.loadData(rec);