Closed jasvazquez closed 13 years ago
Well, this is not a bug , it's a feature ;)
When inserting a row, the grid gets automatically re-sorted. Here the name you insert is empty, so it becomes the first row.
However, I just made a commit to add an optional parameter "dontSort" to addRow: you can now use:
editableGrid.addRow('F1', {'email':'jasvazquez.publicidad@gmail.com','age':'35'}, true);
That sounds very logical [ sorry, I didn't guess it :( ] Thanks again for a fast response and for the new parameter ;)
Using this html (http://pastebin.com/bGFkYC4Y) as a example:
the new row is added as the first entry in the table ;)