Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Multiple Column Header Rows for a single data row
posted

I'm trying to figure out how to design a WinGrid that would like like this in Excel:

Store

2007 2008
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Bud Act Bud Act Bud Act Bud Act Bud Act Bud Act Bud Act Bud Act
1 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999
2 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999

I have a certain number of columns that are repeated for a grouping.  In the above example, I have Bud and Act repeating for each quarter (Q1 through Q4).  And then what I have that grouping of Q1 through Q4 repeating for each year.  I haven't been able to find a way to actually design this in the WinGrid.

Any help would be greatly appreciated.

  • 1500
    posted
    You should use the grid in the RowLayout mode, where you can add unbound columns, specify their position among others and specify that a column should have LabelOnly style (that it should not have corresponding cells to it). -Vitaly