Performance issue for the Virtualization of DataGrid

Nov 6, 2009 at 10:37 AM

Hi all

 

I have used the DataGrid to develop the machine data viewer program, since there are many properties of each machine.

The columns may be nearly 300, and there are 300+ machines. So I use the Virtualization for better performance.

But after created successfully, i found the performance is not good, dragging the scroll bar horizontally always delayed.

So any suggestions for Virtualization? or the Vitrualization is just a toy...

 

Code:

VirtualizingStackPanel.IsVirtualizing="True"  VirtualizingStackPanel.VirtualizationMode="Recycling" 
EnableRowVirtualization="True" EnableColumnVirtualization="True"

ItemsSource -> ObservableCollection<Machine>

 

 

VirtualizingStackPanel.IsVirtualizing="True" 
                          VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.IsDeferredScrollingEnabled="False"
                          EnableRowVirtualization="True" EnableColumnVirtualization="True"

Thanks in advance for any help

Yohan