Hi,
I encountered Win32 exceptions everytime I try to Sort/group my datagrid.
I used dynamic objects and a datapager to populate my datagrid. If I use normal objects everything works fine, so I presume the error is caused by the dynamic objects.
XAML :
<Grid:SfDataGrid ItemsSource="{Binding ElementName=sfDataPager, Path=PagedSource}" Name="grdData" Grid.Row="1" AllowDraggingColumns="True" ShowGroupDropArea="True" AllowTriStateSorting="True" AutoGenerateColumns="False" AutoExpandGroups="True"/>
<DataPager:SfDataPager x:Name="sfDataPager" Grid.Row="2" AccentBackground="DodgerBlue" NumericButtonCount="10" PageSize="10" />
Code behind :
sfDataPager.Source = ListItems.Select(x => x.Properties);
ListItem Class :
public string DisplayName { get; set; }
public dynamic Properties { get; set; }
br,
Marco