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.

Determine selected rows in GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

36660 Nov 4,2005 03:39 PM Nov 4,2005 08:49 PM Windows Forms 1
loading
Tags: GridControl
Brady Johnson
Asked On November 4, 2005 03:39 PM

I am binding a DataTable to a GridListControl and setting the selection mode to MulitSimple so the user can select multiple rows. The code performs the binding is: mTable = TableCreate() cColors.DataSource = mTable cColors.ValueMember = "key" cColors.DisplayMember = "name" After the user has made his/her selections, my program needs to determine which rows were selected. How do I do this? The control does not seem to have a SelectedItems collection like the native .NET ListBox control does. Ideally I would like to determine the keys (as bound to ValueMemeber of list) of the rows selected, not the display value. Thanks

Administrator [Syncfusion]
Replied On November 4, 2005 08:49 PM

Here is a little sample showing how you can get those selections. http://www.syncfusion.com/Support/user/uploads/GLC_ce94d42e.zip

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.

;