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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Determine selected rows in GridListControl

Thread ID:





36660 Nov 4,2005 08:39 PM UTC Nov 5,2005 01:49 AM UTC WinForms 1
Tags: GridControl
Brady Johnson
Asked On November 4, 2005 08:39 PM UTC

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 5, 2005 01:49 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon