Witam mam problem z wolnym przewijaniem datagridów.
Aplikacja składa sie z pięciu zakładek i w każdej jest datagrid bindujący do tych samych obiektów. Kolumn około 40 wierszy około 200. Dane w głównej mierze typu decimal Kolumny zbudowałem w nastepujący sposób
<DataGridTemplateColumn HeaderStyle="{StaticResource NagłówekDane}" Header="Zakup" >
<DataGridTemplateColumn.HeaderTemplate>
<DataTemplate>
<DockPanel>
<TextBlock Style="{StaticResource Naglowek_Total}" DataContext="{Binding DataContext, RelativeSource={RelativeSource AncestorType=DataGrid}}" Text="{Binding Path=KwartałTotal.Zakup, StringFormat=C2}"/>
<TextBlock Style="{StaticResource Nagłówek_Tekst}" Text="Total"></TextBlock>
<TextBlock Style="{StaticResource Nagłówek_Tekst}" Text="Zakup w cenach 3NET"></TextBlock>
</DockPanel>
</DataTemplate>
</DataGridTemplateColumn.HeaderTemplate>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Path= Synteza.Zakup, StringFormat=C2, UpdateSourceTrigger =PropertyChanged, Mode=OneWay}"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
dodałem do tabeli
EnableColumnVirtualization="True" EnableRowVirtualization="True" ItemsSource="{Binding dostawcy, IsAsync=True}"
Niestety nadal tabele działają powoli
Prosze o pomoc