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.

need help with GDBG

Thread ID:





36187 Oct 21,2005 01:00 PM Oct 21,2005 06:46 PM Windows Forms 3
Tags: GridControl
Asked On October 21, 2005 01:00 PM

Hi We are trying to build a GDBG in which final data is stored in the objects instead of data table or dataset. We have achieved following functionality with the GDBG by bounding the data bound data grid to the dataset. 1. Parent children hierarchy functionality by defining the relations in the tables of dataset 2. Writing formulas directly to the cells of the grid to change other columns. 3. Sorting of the grid by double clicking Could you please help me to figure out if there is going to be any problem to achieve these functionalities if we bind objects to the grid instead of binding datasets? Thanks Gk

Administrator [Syncfusion]
Replied On October 21, 2005 01:07 PM

Take a look at the \\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.

Replied On October 21, 2005 01:39 PM

Thanks Clay I got it! Can we make sort functionality work in that example! >Take a look at the \\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.

Administrator [Syncfusion]
Replied On October 21, 2005 06:46 PM

The GridDataboundGrid only directly supports sorting if the DataSource is an IBindingList object, and supports sorting through the IBindingList interface. Another option is to catch the click on the header cell and then directly sort your datasource somehow, and the call grid.Refersh to redisplay the grid.


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.