I´m using Extjs 4.0.7
I have a grid using the default selection, without checkbox or another selecionmodel.
When I try to delete a record and my application server returns true, the record is deleted and I can keep working...great.
But, When I try to delete a record and my application server returns false for any reason (constraints, rules) and I try to delete the same record again or another one, the store tries to send to my application server the record that I tried to delete before and the new one...in other words the store send me a json with two values (array). The first and the last one I tried to delete.
Is there anything to reset the first selection or something else?
I´ve heard about rejectChanges(), but it´s available only for Extjs 4.1
There is my code:
var records = this.getGridList().getSelectionModel().getSelection();
var store = this.getGridList().store;