I have a RadGridView with 5,000 rows and 20 columns with virtualization enabled. I have the grid on the left side of the main window (fixed position).
I added a button.
When the user clicks the button, it will open a new window and the grid should move to the new window.
Somemehow the performance is too slow.
As mentioned I an using virtualization, regular window, no styles and it tooks like 2-3 seconds to open the window. The cells' values may change but not too much. I tried to call the Show() method first and give to the window fixed width and height, also for the RadGridView but when I do the following:
window.Content = radGridView
It takes a while to skip that line.
Do you have any advice? and/or a sample application with a similar behavior that doesn't have this performance issue? I can use it to compare with my code.
Based on your description, I prepared a small sample project in an attempt to replicate the performance issue you described, however, the new window with the RadGridView as its content is shown almost immediately at my end.
Can you please have a look at the attached project and let me know if you observe the issue with it?
Generally speaking, even though the EnableRowVirtualization and EnableColumnVirtualization are set to True by default, the UI virtualization can still be disabled in cases where the RadGridView control is placed in a panel that measures it with infinity, for example. To troubleshoot this, please try applying the modifications mentioned in the Tips and Tricks article and let me know if you still observe the degraded performance.
Hello, thanks for your reply.
The panel is not measured to infinity.
I will check your example and let you know.