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.
Unfortunately, activation email could not send to your email. Please try again.

Setting selected row

Thread ID:

Created:

Updated:

Platform:

Replies:

23431 Jan 12,2005 10:55 AM Jan 12,2005 11:09 AM Windows Forms 1
loading
Tags: GridControl
Steve Gauthier
Asked On January 12, 2005 10:55 AM

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.

Steve Gauthier
Replied On 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. >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;