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

Binding custom collections to a GDBG

Thread ID:





41165 Feb 23,2006 03:56 PM UTC Feb 27,2006 09:46 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 23, 2006 03:56 PM UTC

I am working on binding a custom collection (Derived from System.Collections.CollectionBase) of custom objects to a GridDataBoundGrid. I have used the DataBoundColumns designer to define which object properties bind to each visible column in the grid. So far the approach I''m taking is working well, but I am having some difficulty determining how to do the folloing: 1. Obtain a reference to the currently selected object in the grid (the grid allows only single selection). 2. Programatically change the selected object (row) based-on a a reference to that object. 3. Allow the grid to be re-sorted by double-clicking the column headers (in a manner similar to if the DataSource was a DataSet rather than a custom collection). Also, resorting preserving which row is selected. TIA for any help! Dave

stanleyj [Syncfusion]
Replied On February 27, 2006 09:46 AM UTC

Hi Dave, Sorting and preserving the selected row will work smooth in GGC. Can you try using GridGroupingcontrol. Regards, Stanley


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