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

Horizontal scroll very slow

8 Answers 169 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
AKROS
Top achievements
Rank 1
AKROS asked on 07 Mar 2012, 03:50 PM

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

8 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 08 Mar 2012, 03:33 PM
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 >>
0
AKROS
Top achievements
Rank 1
answered on 08 Mar 2012, 05:16 PM
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

0
AKROS
Top achievements
Rank 1
answered on 09 Mar 2012, 12:57 PM
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
0
Yordanka
Telerik team
answered on 09 Mar 2012, 01:09 PM
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 >>
0
AKROS
Top achievements
Rank 1
answered on 12 Mar 2012, 11:13 AM
Hello Yordanka,

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

Thanks in advance...
Greetings,

Nicolas
0
Yordanka
Telerik team
answered on 12 Mar 2012, 04:09 PM
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 >>
0
AKROS
Top achievements
Rank 1
answered on 27 Apr 2012, 07:09 AM
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);
     }
}

0
Yordanka
Telerik team
answered on 27 Apr 2012, 03:07 PM
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 >>

Tags
TreeListView
Asked by
AKROS
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
AKROS
Top achievements
Rank 1
Share this question
or