Can one or several rows be selected by code?
Can a row be selected by code?
#1
Posted 23 March 2022 - 03:39 AM
#2
Posted 23 March 2022 - 06:44 PM
Hi,
For this purpose you can use SelectedRow (reference: http://developer.ber...=127&lang=en-us) for full row selection, or you can use SelectCell method to select single cell.
I hope that this helps.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 23 March 2022 - 08:20 PM
Sorry. I don't know how to make it work
SelectFullRow:= True
Attached Files
#4
Posted 25 March 2022 - 01:38 PM
Hi,
You also need to set HideSelection property of the grid to False. That way selection will not be hidden when grid is not focused.
I hope that it will work now.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#5
Posted 28 March 2022 - 05:13 AM
Thanks a lot. It has been good for me
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users