We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Setting selected row

I have a GDBG with ListBoxSelectionMode = SelectionMode.One I want to set the selected row at initialisation. How i do that ? I looked at grid.Selections but could not find how. I found how to get it, but not to set it.

1 Reply

SG Steve Gauthier January 12, 2005 11:09 AM

I found out how to do it. this.mygrid.Selections.SelectRange(GridRangeInfo.Row(indexRow), true); I missed the .Row thing... Thanks anyway. >I have a GDBG with ListBoxSelectionMode = SelectionMode.One > >I want to set the selected row at initialisation. >How i do that ? > >I looked at grid.Selections but could not find how. I found how to get it, but not to set it. >

Loader.
Live Chat Icon For mobile
Up arrow icon