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.

Add Grid Header Rows

Thread ID:

Created:

Updated:

Platform:

Replies:

3888 Apr 16,2003 08:18 AM Apr 28,2003 08:50 AM Windows Forms 2
loading
Tags: GridControl
Curtis Koppang
Asked On April 16, 2003 08:18 AM

I have a GridDataBoundGrid which is bound to a hierarchical DataSet. There are three levels (tables) in the hierarchy. I want to add a couple of header rows on top of these "automatic" rows - how do I do this? Tx, curt

Administrator [Syncfusion]
Replied On April 16, 2003 11:04 AM

The hierarchy headers take the top rows by default. One way you can handle this is to add additional rows enough to handle your extra rows plus a copy of the current header rows underneath the extra rows. Then you can hide the original headers. Attached is a sample that does this. Click the button in the lower right column to see the extra headers. This technique has to be done after the original headers are created (ie. after your AddRelations that set all the hierarchies).

Curtis Koppang
Replied On April 28, 2003 08:50 AM

The code you sent me worked great, except that I lost the CoveredRanges which were setup by calling LayoutColumns. Is there a way to copy this information over as well?

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.

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.

;