View Full Version : grid reorder after insert a row
If i insert a row in a grid. How can I reorder it, to refresh the grids internal index what is used by getAt(), removeAt(), and etc? (Without, reload the servers original json store, couse there is a save button, to send the inserted columns to the server.)
Or if I drag and drop from grid to grid, after the drop, how can I re order the list?
22 Nov 2011, 8:39 AM
If you allow local sorting (remoteSort - config set to false),
you can just use one of the Stores sort functions (like sort, sortBy).
But I need remote sorting, because, the groups is not sorted by alphabetic order, and I get it from the server in correct order. I just need to, reorder it in the group. (And refresh, the internal index, because as I see it copies it from the top grid to bottom.)
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.