I have ExtJs (v3.1) `Ext.grid.GridPanel, which loads some records from its repository and allows editing.
If I select several records and I click the "Delete" button, it sends several DELETE requests, overloads the server, which ultimately deletes some of them, returns 404 for the rest.
I don’t understand why he sends the second or third request before the first one has failed, he just didn’t return.
this is the delete button handler
function onDelete() {
var recs = userGrid.getSelectionModel().getSelections();
userGrid.store.remove(recs);
}
and storage based
var store = new Ext.data.GroupingStore({
proxy: proxy,
reader: reader,
writer: writer,
sortInfo: {
field: 'day',
direction: "DSC"
}, groupField: 'week',
batch: false,
});
this is a screenshot of firebug after i selected 5 entries and clicked delete

source
share