Hierarchical grid scrolling performance issue

6 posts, 1 answers
  1. Tony
    Tony avatar
    21 posts
    Member since:
    Oct 2011

    Posted 02 Apr 2012 Link to this post

    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
  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 04 Apr 2012 Link to this post

    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 >>
  3. Hamilton
    Hamilton avatar
    10 posts
    Member since:
    Jun 2011

    Posted 09 Apr 2012 Link to this post

    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
  4. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 11 Apr 2012 Link to this post

    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 >>

  5. Hamilton
    Hamilton avatar
    10 posts
    Member since:
    Jun 2011

    Posted 11 Apr 2012 Link to this post

    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
  6. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Apr 2012 Link to this post

    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 >>

Back to Top