William G
8 Dec 2011, 5:44 AM
Hello. I believe I have hit a bug with the multiSelect functionality in the Ext.grid.Panel component. Has anyone else seen the following and figured out a fix?
Steps to recreate:
1. Create a standard Ext.grid.Panel with multiple records in it and turn "multiSelect: true"
Note that you can just go to the documentation page http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.Panel (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.grid.Panel) and insert the multiSelect: true line right into there and flip to live preview.
2. Select the top row, then press and hold shift and click on the second row, then the third row, then the fourth. You would expect to see all 4 rows selected but instead you just get the last two.
3. For reference, release the shift and select the bottom row (4th row). Now press and hold shift and select the 3rd row, then the 2nd row, then the 1st row. You now see all four rows selected.
Anyone found a way to fix this?
Steps to recreate:
1. Create a standard Ext.grid.Panel with multiple records in it and turn "multiSelect: true"
Note that you can just go to the documentation page http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.Panel (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.grid.Panel) and insert the multiSelect: true line right into there and flip to live preview.
2. Select the top row, then press and hold shift and click on the second row, then the third row, then the fourth. You would expect to see all 4 rows selected but instead you just get the last two.
3. For reference, release the shift and select the bottom row (4th row). Now press and hold shift and select the 3rd row, then the 2nd row, then the 1st row. You now see all four rows selected.
Anyone found a way to fix this?