This is a migrated thread and some comments may be shown as answers.

Disable Unload/Load row details

2 Answers 291 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oliver Abraham
Top achievements
Rank 2
Oliver Abraham asked on 05 Sep 2011, 04:45 PM
Hi there,

is it possible to disable Row details unload while the user scrolls through the grid ?
With one row being expanded and showing row details, all works fine, except when the user scrolls down and up again.
I'd like to save the time to handle unload/load code, because inside RadGridView we have a tab control with several tabs.

Best regards
Oliver

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 06 Sep 2011, 08:14 AM
Hi Oliver Abraham,

 
The behavior you get is the expected one. RadGridView is a virtual UI component and its virtualization is turned on by default. When you scroll up and down the rows are being recycled including the details. The only way to disable the unloading of RowDetails is to turn off the row virtualization through setting EnableRowVirtualization/EnableColumnVirtualization to False.
Will you verify how this corresponds to your needs? 



Kind regards,
Vanya Pavlova
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Oliver Abraham
Top achievements
Rank 2
answered on 06 Sep 2011, 09:07 AM
Hi Vanya,

thanks for your quick response. In fact it helps, but the performance is so poor that I can't use it. The user would have to wait about a minute until 1200 rows in 20 columns are loaded.That's one reason for UI virtualization, I know. With virtualization turned on, the delay is only some seconds.

Nevertheless, thanks and best regards
Oliver
Tags
GridView
Asked by
Oliver Abraham
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Oliver Abraham
Top achievements
Rank 2
Share this question
or