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

Performance problem with rowchildtemplates

3 Answers 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 24 Oct 2011, 11:23 AM
Hello

We are using the RadGridView to show hierarchical data X levels deep. Typically this is only used up until 5 or 6 levels deep.
We use the RowChildTemplate where we define other radgridviews that display the collections of children (loaded on demand)

Now, the problem is that when we expand a top level node that has a lot of items (2000+), it takes a very long time for the UI to update (> 2 mins) and afterwards the application is very unresponsive + takes up a lot of memory. I have a suspicion this is because the child gridview containing the 2000+ items is actually in the first row, of which a part is shown in the UI obviously. So even if only the top row + 2 or 3 rows of the child gridview is visible in the UI, the other 2997 rows of the child gridview are still instantiated because they are "part of" the top level row so virtualization is not used on "sublevels".
Is this a known problem and do you (or anyone) perhaps have a workaround for this? This is a blocking problem for us...

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Oct 2011, 12:49 PM
Hi,

 Please specify Height for your child grids to avoid such problems. 

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Peter
Top achievements
Rank 1
answered on 24 Oct 2011, 12:58 PM
Vlad,

If you specify the height of the child grids, that means there will be a scrollbar on the sub levels. That is not what we want: only the top level should have a scrollbar
0
Vlad
Telerik team
answered on 24 Oct 2011, 01:01 PM
Hi,

RadGridView does not have any support for hierarchical scrolling/virtualization of root/child levels at once. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Peter
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Peter
Top achievements
Rank 1
Share this question
or