If I have a record, which belongs to -a- store, but without knowledge of -which- store it belongs to, how do I delete that record?
Eg
var store = Ext.create('Ext.data.Store',{
model:'Pies'
data:{Type:123,Name:"apple"}
})
var record = store.getAt(0)
//How do I store.remove(record); without actually having the store record handy?
Your record will actually have property
.storewhich you can use to reference store it belongs to – http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Model-property-store