Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
UltraGrid Multi-Selection is not happening with shift key
posted

I have a  UltraGrid with checkbox. I need to select multiple rows. Its working when I'm select the row manually.

but when I'm setting focus to the row by code behind, the Shift key selection is not working.

 Here I have attached sample,

after reloading the data, I need to set the focus to the row which is last selected. so I am navigating to the grid by

            grid.Rows[_currentRowIndex].Activate();

            grid.Rows[_currentRowIndex].Selected = true;                                               

after this line, when I'm press shift key to select, its not selecting multiple rows. its selecting the single row.

Eg : when I'm in the 6th row, after reloading the data, the focus should be in the 6th row. So I'm navigating to the 6th row by above 2 lines. after that when I'm selecting other row with shift key, it should select multiple rows. But its not happening.InfraSample.zip

Parents
  • 7535
    Offline posted

    Hello,

    Thank you for sharing the sample for testing the behavior, although i noticed that you are using version 14.1 which is no longer supported and fix bugs, as per product life cycle. I tested the behavior with supported version V22.1 and not able to reproduce the issue . I attached as video showing the behavior i am getting and steps i have taken, for me i am able to select the other rows using shift key.

    So i would suggest you to upgrade to latest supported version to get the fix.

    Recording #73.zip

Reply Children