Horizontal scroll very slow

9 posts, 0 answers
  1. AKROS
    AKROS avatar
    68 posts
    Member since:
    Oct 2011

    Posted 07 Mar 2012 Link to this post

    Hello Telerik,

    I'm using the latest version of the RadTreeListView control and I've got serious performance problem with horizontal scroll.
    Currently, I've roughly 100 columns and 200 rows with 4 levels of hierarchy (we plan to have more than 1000 rows and 150-200 columns in the future...)
     
    I tried to remove all templates, binding, event, etc. but the horizontal scroll is still very slow (but a bit faster than with templates and binding). Vertical scroll is not perfect but it's usable...

    How can I solve this h-scroll issue?
    I've the impression that this comes from the 4 levels of hierarchy...

    Any ideas would be greatly appreciated !
    Greetings,

    Nicolas

  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 08 Mar 2012 Link to this post

    Hello Nicolas,

    May I ask you to test your scenario with our latest internal build - version 2012.1.306? We made various improvements related to the horizontal scrolling which are part of the internal build. 
    Also, you may follow the Tips and Tricks topic for optimizing the performance (as RadTreeListView inherits RadGridView those points are valid for both controls),. For instance, setting ColumnWidth to a specific width will increase the scrolling performance.

    Let us know if the above suggestions don't help.
     
    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. DevCraft banner
  4. AKROS
    AKROS avatar
    68 posts
    Member since:
    Oct 2011

    Posted 08 Mar 2012 Link to this post

    Hello Yordanka,

    I'm using the lastest public build, v.2012.1.215.1050
    I will try with the version you suggest and then give you a feed-back...

    Regards,
    Nicolas

  5. AKROS
    AKROS avatar
    68 posts
    Member since:
    Oct 2011

    Posted 09 Mar 2012 Link to this post

    Hi again,

    I tried with version 2012.1.306 but unfortunately it didn't help.
    H-scroll is still very very slow...

    Does it heIp if I try to create a small project that reproduce this problem?
    Greetings,

    Nicolas
  6. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 09 Mar 2012 Link to this post

    Hi Nicolas,

    A sample project will be of great help. We will check and debug it on our side and will be able to provide you with further assistance.
    In order to attach the project, you need to open a support ticket.
     
    Greetings,
    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 >>
  7. AKROS
    AKROS avatar
    68 posts
    Member since:
    Oct 2011

    Posted 12 Mar 2012 Link to this post

    Hello Yordanka,

    I just submitted a project that reproduce the problem.
    The ticket id is 521642.

    Thanks in advance...
    Greetings,

    Nicolas
  8. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 12 Mar 2012 Link to this post

    Hi Nicolas,

    We checked your solution and here are our findings:
    1. The TreeListView is placed in ScrollViewer which measure it with infinity and the virtualization turns off.
    2. Defining ColumnWidth="30" will create many visual elements which makes the scrolling slower. You can try with ColumnWidth="100" and the result will be much better.
    3. Looking at the provided image, we suggest you to examine our RadGanttView control. Here is a demo similar to your scenario.
     
    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 >>
  9. AKROS
    AKROS avatar
    68 posts
    Member since:
    Oct 2011

    Posted 27 Apr 2012 Link to this post

    Hello Telerik,

    After many days of research, I finally found that the problem comes from GridViewColumnGroup.
    Removing my ColumnGroup didn't solve the problem but the performence are much much much better !

    So my question is very easy: Do you plan to enhance this part of the Control for a next internal build?
    Thanks in advance for your answer...

    Regards,
    Nicolas

           

    private void CreateGrid()
    {
         this.Init();
     
         int counter = 0;
         // DataTemplate template = this.Resources["monthCalendar"] as DataTemplate;
     
         Enumerable<Month> months = ...;
         foreach (Month month in months)
         {
              foreach (Week week in month)
              {
                   GridViewColumn column = this.CreateColumn(week, month.Key, ...);
                   this.treeListView.Columns.Add(column);
                   counter++;
              }
     
              //GridViewColumnGroup calendarGroup = new GridViewColumnGroup { Name = ..., Header ..., HeaderTemplate = template };
              //this.treeListView.ColumnGroups.Add(calendarGroup);
         }
    }

  10. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 27 Apr 2012 Link to this post

    Hi Nicolas,

    Thank you for the feedback.

    We are working on improving this scenario and most probably the result will be available with the next official release on June.

    We apologize for the inconvenience.
       
    Greetings,
    Yordanka
    the Telerik team

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

Back to Top
DevCraft banner