This project is read-only.

Anchor or docking?

Sep 23, 2012 at 11:43 PM

Great job, is it possible to anchor or dock grid to parent window?

Sep 24, 2012 at 5:13 PM

  This code will dock grid to parent window.

<Window x:Class="TestClient.Views.ParentWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ExtendedGridControl="clr-namespace:ExtendedGrid.ExtendedGridControl;assembly=ExtendedGrid"
        xmlns:ExtendedColumn="clr-namespace:ExtendedGrid.ExtendedColumn;assembly=ExtendedGrid"
         xmlns:WpfToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"
        Title="ParentWindow" Height="300" Width="300">
    <Grid>
        <ExtendedGridControl:ExtendedDataGrid x:Name="grid" ItemsSource="{Binding SourceTable}" AutoGenerateColumns="False" HideColumnChooser="False">
            <WpfToolkit:DataGrid.Columns>
                <ExtendedColumn:ExtendedDataGridTextColumn Header="Game Name" AllowAutoFilter="False"
                                           Binding="{Binding GameName}" />
                <ExtendedColumn:ExtendedDataGridTextColumn Header="Creator" AllowAutoFilter="False"
                                           Binding="{Binding Creator}" />
                <ExtendedColumn:ExtendedDataGridTextColumn Header="Owner"
                                           Binding="{Binding Owner}" AllowAutoFilter="False"/>
                <ExtendedColumn:ExtendedDataGridTextColumn Header="Publisher"
                                           Binding="{Binding Publisher}" AllowAutoFilter="False"
                                           CanUserSort="False" Width="*"/>

            </WpfToolkit:DataGrid.Columns>
        </ExtendedGridControl:ExtendedDataGrid>
    </Grid>
</Window>

Sep 27, 2012 at 5:10 PM

Thanks my friend, it works :)

Oct 7, 2012 at 2:11 AM

Couple of more questions:

1- How can I add or delete a row?

2- How can I add or delete a column?

3- How can I reorder rows? (like taking a 10th row and bring it to 2nd row?)

Thanks