Search code examples
c#winformsdevexpressxtragrid

DevExpress Winforms XtraGrid - Show groups in a single row/line


I have a grid where users group by multiple columns. The issue is, due to the way DevExpress grid displays multiple group columns, the group panel height grows with each grouped column. This is because the group panel shows grouped columns in a tree like view.

Is it possible to display all the grouped columns in a single line/row in the group panel?


Solution

  • You can set the GridView's OptionsView.ShowGroupPanelColumnsAsSingleRow property to True to achieve this behavior. It is False by default.

    enter image description here