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

Virtualization of hierarchy child rows

2 Answers 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yaakov Davis
Top achievements
Rank 1
Yaakov Davis asked on 27 Dec 2010, 10:13 AM
I noticed that rows of hierarchy child aren't virtualized. So If I have a child table with 500 rows, 500 UI controls will be generated for each of the rows. You can use Snoop to see that. (Rows of root table, at the top of the hierarchy are virtualized, as expected).

Is there a way to extend virtualization to support child tables? If not, is there a plan to support it in the future?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 27 Dec 2010, 11:08 AM
Hello Yaakov Davis,

Virtualization of RadGridView depends on the height set. If RadGridView is placed in a panel that measures it with infinity , virtualization would be turned off and all rows realized.

Since I do not know your specific setup , I may give just a general recommendation - please explicitly set height for the child RadGridView. This should make a difference.

Greetings,
Pavel Pavlov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Yaakov Davis
Top achievements
Rank 1
answered on 27 Dec 2010, 11:21 AM
Hi Pavel, thanks for your response.

Setting Height is a good idea that should work for some scenarios. However, when there're multiple nested levels, you can't limit the height, as it'll limit accessibility to deeper levels. 

It'll be nice if the control understood its real physical screen viewport, and virtualize accordingly.

Yaakov
Tags
GridView
Asked by
Yaakov Davis
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Yaakov Davis
Top achievements
Rank 1
Share this question
or