20 Mar 2013 1:12 PM #1
Drag n Drop of Multi Select Enabled Grid rows can result in wrong ordering
Best way to describe this is with the supplied Grid to Grid DnD example:
- Click on Row 1 to select
- Ctrl-Click on Row 0 to add the selection
- Drag to the other grid
- Row 1 is above Row 0!
21 Mar 2013 7:16 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
This is because of the selection model keeps your selection in order that you select them so if you do
grid.getSelectionModel().getSelection()Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
21 Mar 2013 11:44 AM #3
I would still consider this unintuitive or at least undocumented.
That's what I thought was going on, but I can live with it.