Home Forums WinForms controls Xceed Grid for WinForms How to create multiple column headers Reply To: How to create multiple column headers

User (Old forums)
Post count: 23064

In fact, it still works, except that the new header rows have a height of 1, which means you don’t see them.  The reason for this is that there was a change in the methods and properties used, and DefaultHeight is not consulted anymore.  So you need to override GetFittedDisplayHeight to make it work.

You can add the following to the existing code, and you will see the rows appear.

protected override int GetFittedDisplayHeight( AutoHeightMode mode, Graphics graphics, bool printing )


    return this.DefaultHeight;



Imported from legacy forums. Posted by André (had 594 views)