well its maybe important to say that I'm using an ObservableCollection as DataSource... Columns are dynamic and not defined in XAML....
my XAML is only this:
my XAML is only this:
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" Height="340" VerticalAlignment="Top">
<Grid.Resources>
<xcdg:DataGridCollectionViewSource x:Key="sgs" Source="{Binding SGSourceTable}"/>
</Grid.Resources>
<xcdg:DataGridControl x:Name="sgGrid" ItemsSource="{Binding _sgSourceTable}" IsDeleteCommandEnabled="True" Height="Auto"
DeletingSelectedItems="sg_DeletingSelectedItems"
DeletingSelectedItemError="sg_DeletingSelectedItemError" Margin="0,-4,-1,4" Loaded="sgGrid_Loaded">
</xcdg:DataGridControl>
</Grid>