Determine selected rows in GridListControl

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon