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?
ADAdministrator Syncfusion Team April 16, 2003 10: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).
CKCurtis KoppangApril 28, 2003 07: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?