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.

Grouping headers in a GridDataBoundGrid

Thread ID:





58063 Mar 16,2007 10:57 AM Aug 2,2012 07:31 AM Windows Forms 3
Tags: GridControl
Asked On March 16, 2007 10:57 AM


I'm using a GridDataBoundGrid pointed at a DataTable with dates as columns (month/year e.g. '4/2007') and rows of data underneath. I'd like to add another header row above the default header row that groups the columns into years (e.g. one long cell that says '2006' would be above the rows for 1/2006 through 12/2006).

I understand that I can add a new header row below the existing one using Model.Rows.HeaderCount and group them using Model.CoveredRanges. However the extra row I add comes in BELOW the default header. How do I put that extra header row ABOVE the default, all the way at the top of the grid?



Administrator [Syncfusion]
Replied On March 16, 2007 03:22 PM

Hi Chris,

Please try the attached sample and let me know if this helps.

Best regards,

Chetan Seshadri
Replied On August 1, 2012 12:15 PM

Hi Haneef,

I have the same problem as the one stated above wherein I am not able to create a Column Header above the already existing Column Header in the Windows GridDataBoundGrid.

Also the link given does not work.

Could you please let me know how to solve this?




Kalaiarasan B [Syncfusion]
Replied On August 2, 2012 07:31 AM

Hi Chetan,

Please find the sample attached in the belwo link

This sample is available in our dashboard in the following location

GridDataBoundGrid - > Customization -> Multi Header demo



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.