<Window x:Class="ColumnGroupsTest.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:my="clr-namespace:ColumnGroupsTest"
        Title="MainWindow" Height="700" Width="700">
	<Window.Resources>
		<my:MyViewModel x:Key="MyViewModel"/>
	</Window.Resources>
	<Grid DataContext="{StaticResource MyViewModel}">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		
		<telerik:RadGridView Grid.Row="0" 
                             Name="clubsGrid" 
                             ItemsSource="{Binding Clubs}"
                             AutoGenerateColumns="False"
                             GroupRenderMode="Flat"
                             Margin="5">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" ColumnGroupName="Level1group11"/>
				<telerik:GridViewDataColumn DataMemberBinding="{Binding Established}"
                                            Header="Est." ColumnGroupName="Level1group12"
                                            DataFormatString="{}{0:yyyy}"/>
				<telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}" 
                                            Header="Stadium" ColumnGroupName="Level1group21"
                                            DataFormatString="{}{0:N0}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}" 
                                            Header="Stadium" ColumnGroupName="Level1group22"
                                            DataFormatString="{}{0:N0}"/>
			</telerik:RadGridView.Columns>
            <telerik:RadGridView.ColumnGroups>
                <telerik:GridViewColumnGroup Name="Level2group1">
                    <telerik:GridViewColumnGroup Name="Level1group11"/>
                    <telerik:GridViewColumnGroup Name="Level1group12"/>
                </telerik:GridViewColumnGroup>
                <telerik:GridViewColumnGroup Name="Level2group2">
                    <telerik:GridViewColumnGroup Name="Level1group21"/>
                    <telerik:GridViewColumnGroup Name="Level1group22"/>
                </telerik:GridViewColumnGroup>
            </telerik:RadGridView.ColumnGroups>
        </telerik:RadGridView>
		
	</Grid>
</Window>
