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

Hierarchical grid scrolling performance issue

5 Answers 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tony
Top achievements
Rank 1
Tony asked on 02 Apr 2012, 08:15 AM
Hi there,

We are using gridview (version 2012.1.0215.1050) to display some calculation results.

For each row, the user is able to see the breakdowns of the numbers that went into the calculation of a given row.

Each row, depending on some criteria, can have a different set of breakdown columns (i.e. row 1 might have 6 breakdown columns, row 2 might have 10 breakdown columns, row 3 might be the same as row 1 and have 6 breakdown columns, row 4 might have 8 breakdown columns, etc).

What we're finding is that the more rows we expand, the slower the scrolling (both horizontal and vertical) becomes.

There isn't too many rows in the grid I'm testing on (i.e. around 50 rows * 15 columns)

We've tried all the recommendations detailed in the following link but they don't improve the performance:
http://www.telerik.com/help/silverlight/gridview-troubleshooting-performance.html

Are there any known performance problems with the hierarchical grids?  Would very much appreciate any guidance on what else we can try to improve the performance.

Thanks,

Tony

5 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 04 Apr 2012, 03:53 PM
Hello Tony,

Could you confirm that the child grid is not measured with infinity? Can you set a fixed Height for it and check if the performance is different in this case? If you still have a performance issue please paste your code of the grid definition and we will check what is going wrong.
 
Kind regards,
Yordanka
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Hamilton
Top achievements
Rank 1
answered on 10 Apr 2012, 01:31 AM
Hi Yordanka,

I've raised a support ticket (531965) as I'm not able to attached my 4mb solution (limit here is 2mb).

The demo app shows the slowness in the scrolling as well as what we're trying to achieve (including the need is for the width of the columns of the parent grid and child grid to be bound so that any column resizing made to the parent grid is reflected in the child grid).

Cheers,

Tony
0
Yordanka
Telerik team
answered on 11 Apr 2012, 03:54 PM
Hello Tony,

Generally, all elements of the HieararchyChildTemplate will be measured with infinity by default. RadGridView does not support hierarchical UI virtualization and because of this, you need to set Height for your child grid. Otherwise, it will be measured with infinity and will create all items which cause the slower performance while expanding the hierarchy item.
 
Regards,
Yordanka
the Telerik team

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

0
Hamilton
Top achievements
Rank 1
answered on 12 Apr 2012, 12:30 AM
Hi Yordanka,

So to cut a long story short - are you saying that we are not able achieve what we need without suffering a degradation in performance?

We simply will not be able to set a fixed height as we don't want scrollbars appearing for each child grid.  In addtion (just in case you are thinking we can dynamically set the fixed height of child grids), we need to be able to have more than 1 child grid open at a time.

Regards,

Tony
0
Accepted
Vlad
Telerik team
answered on 12 Apr 2012, 07:16 AM
Hello,

 RadGridView does not support something like hierarchical virtualization. The only option is to have separate UI virtualization for every child grid - you need to set Height/MaxHeight in order to have this! 

All the best,
Vlad
the Telerik team

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

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