Hi,
is there a way to disable the virtualization?
I need to perform calculations on rows that don't exist in the virtualizing panel.
Thanks,
Tal
2 Answers, 1 is accepted
0
Hristo Deshev
Telerik team
answered on 10 Mar 2009, 09:47 AM
Hello Tal,
The current official release does not allow that. We have modified the virtualization logic, so that it will realize all rows when placing the grid in a container with a Height of infinity to match the default behavior in other WPF controls. Starting with Q1 2009, which is to ship in a couple of days, you will be able to wrap the RadGridView in a StackPanel, and put that in a ScrollViewer control and achieve the behavior you desire.
On a side note, I am not really sure you should be performing calculations on your visual objects. I am speaking without much context, but your requirement looks like a prime candidate for a view model implementation that would do the calculations, expose the calculated values through public properties, and have your UI bind to those properties. More details on the Model-View-ViewModel pattern are available here.