I want to "group" some columns in a WPF GridView by having an additional header row that spans a couple of the columns in the GridView.
In ASP.Net with a repeater this would look like:
<asp:Repeater ID="myRepeater">
<HeaderTemplate>
<table>
<tr>
<td></td>
<td colspan="2">Group 1</td>
<td colspan="2">Group 2</td>
<td></td>
</tr>
<tr>
<td>Value 1 Header</td>
<td>Value 2 Header</td>
<td>Value 3 Header</td>
<td>Value 4 Header</td>
<td>Value 5 Header</td>
<td>Value 6 Header</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>Value 1</td>
<td>Value 2</td>
<td>Value 3</td>
<td>Value 4</td>
<td>Value 5</td>
<td>Value 6</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
So the "Value 1" would just have the one header, while "Value 2" and "Value 3" would have a header and a grouping header above that.
Any thoughts on how to do this type of thing in WPF? Thanks.