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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouping headers in a GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

58063 Mar 16,2007 02:57 PM UTC Aug 2,2012 11:31 AM UTC WinForms 3
loading
Tags: GridControl
Chris
Asked On March 16, 2007 02:57 PM UTC

Hello,

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?

Thanks!

Chris

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

Hi Chris,

Please try the attached sample and let me know if this helps.
http://websamples.syncfusion.com/samples/Grid.Windows/GDBGExtraHeader/main.htm

Best regards,
Haneef

Chetan Seshadri
Replied On August 1, 2012 04:15 PM UTC

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?

 

Thanks,

Chetan


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

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

Regards,
Kalai

CONFIRMATION

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.

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

;