View Full Version : [3.3.2] Grid + DirectStore = reverse save order

4 Jul 2011, 12:30 AM
I noticed that save function from DirectStore send data in reverse order. In grid I add rows in this order:

X. Position One
X. Position Two
X. Position Three

... and when saving we get in POST array (ex. PHP): {Position Three, Position Two, Position One} so we have:

3. Position One
2. Position Two
1. Position Three

It seems to me that problem is in "save" function of DirectStore, so i added this:

var rs = [].concat(this.getModifiedRecords());

This is bug or I don't understand something? Anyone?

4 Jul 2011, 10:56 PM
Anybody? This is very important to me. I do not know if I am wrong or that this is a bug.