Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Is it possible to show group column headers in the same line?

$
0
0

This feature is available out-of-the-box starting from version 15.2.4. Use the GridView.OptionsView.ShowGroupPanelColumnsAsSingleRow property. 

For earlier versions:


This example demonstrates how to display group column headers in the same line, so, the group panel's height is as minimal as possible.
  
To accomplish this task, it's necessary to create a custom grid as described in the How to create a GridView descendant class and register it for design-time use KB article. Furthermore, inherit the GridViewInfo and override its CalcGroupPanelRowDrawInfo and CalcGroupPanelHeight methods.

Question Comments

Added By: D. Samsonoff at: 1/3/2014 7:26:38 AM    

But you still end up with a connecting line drawn under. Looks quite nasty.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>