Home » Community » Newbie corner » Restricting GridCtrl Selection to just One row
Restricting GridCtrl Selection to just One row [message #32622] |
Sun, 29 May 2011 02:24 |
|
bushman
Messages: 134 Registered: February 2009
|
Experienced Member |
|
|
I have a GridCtrl populated with several rows and I want to select data across the cells I choose with the mouse, but restricted just to the very row I clicked first, when I started my selection using shift+ or ctrl+ LMB.
For example, if I click first on (row 2, cell 3), hold shift or ctrl key pressed, click next on (row x, cell 10), I'd like to have my selection range highlighted from [(row 2, cell 3) to (row 2, cell 10)], regardless of my second row click.
Any suggestions?
Thanks!
|
|
|
Re: Restricting GridCtrl Selection to just One row [message #32766 is a reply to message #32622] |
Tue, 07 June 2011 08:28 |
|
kropniczki wrote on Sat, 28 May 2011 20:24 | I have a GridCtrl populated with several rows and I want to select data across the cells I choose with the mouse, but restricted just to the very row I clicked first, when I started my selection using shift+ or ctrl+ LMB.
For example, if I click first on (row 2, cell 3), hold shift or ctrl key pressed, click next on (row x, cell 10), I'd like to have my selection range highlighted from [(row 2, cell 3) to (row 2, cell 10)], regardless of my second row click.
Any suggestions?
Thanks!
|
I'm a little bit lost here. Could you explain it better?
|
|
|
Goto Forum:
Current Time: Mon May 13 09:12:27 CEST 2024
Total time taken to generate the page: 0.03051 seconds
|