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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add Grid Header Rows

Thread ID:





3888 Apr 16,2003 12:18 PM UTC Apr 28,2003 12:50 PM UTC WinForms 2
Tags: GridControl
Curtis Koppang
Asked On April 16, 2003 12:18 PM UTC

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 03:04 PM UTC

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 12:50 PM UTC

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?


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

Live Chat Icon For mobile
Live Chat Icon