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
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
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
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
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
I just submitted a project that reproduce the problem.
The ticket id is 521642.
Thanks in advance...
Greetings,
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
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);
}
}
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 >>