<Window x:Class="RadGridView_WPF_AR_1.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:RadGridView_WPF_AR_1"
        Title="MainWindow" Height="700" Width="700">
	<Window.Resources>
		<my:MyViewModel x:Key="MyViewModel"/>
    </Window.Resources>
	<Grid DataContext="{StaticResource MyViewModel}">
        <telerik:RadBusyIndicator Grid.Row="1" IsBusy="True" BusyContent="ExportingTask">
            <telerik:RadGridView 
                                     ColumnWidth="*" UseLayoutRounding="False"
                                     ItemsSource="{Binding Clubs}"
                                     SelectionMode="Extended"
                                     SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                                     AutoGenerateColumns="False" Margin="5" ShowGroupPanel="False"
                                     RowIndicatorVisibility="Collapsed"
                                     CanUserDeleteRows="False"
                                     CanUserFreezeColumns="False"
                                     CanUserInsertRows="False"
                                     IsReadOnly="True"
                                     IsFilteringAllowed="False">

                <!--<i:Interaction.Behaviors>
                        <Behaviors:RadGridViewMultiSelectorBehavior
                            SelectedItems="{Binding SelectedItems, Mode=TwoWay}" />
                    </i:Interaction.Behaviors>-->

                <telerik:RadGridView.InputBindings>
                    <MouseBinding Gesture="LeftDoubleClick" Command="{Binding Edit}" />
                </telerik:RadGridView.InputBindings>
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn Header="name" Width="*" DataMemberBinding="{Binding Name}"/>
                    <telerik:GridViewDataColumn Header="type" Width="*" DataMemberBinding="{Binding Name}"/>
                    <telerik:GridViewDataColumn Header="created" Width="Auto" DataMemberBinding="{Binding Name}"/>
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
        </telerik:RadBusyIndicator>
    </Grid>
</Window>
