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

CellTemplate horizontal scrolling is very slow.

4 Answers 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 26 Sep 2016, 06:53 PM
If I use CellTemplate and then horizontally scroll so column isn't visible then scroll back I have a noticeable slowdown (jerk) in scrolling.

If I replace this code with using DataMemberBinding without CellTemplate I don't see this problem.

Any advice on how to fix this problem?

(saw some old threads about it but not sure what's the resolution).

4 Answers, 1 is accepted

Sort by
0
Pavel
Top achievements
Rank 1
answered on 26 Sep 2016, 06:55 PM
Just to clarify slowdown happens when new column is about to be made visible.
0
Stefan
Telerik team
answered on 29 Sep 2016, 11:52 AM
Hello Pavel,

Generally speaking, custom CellTemplates do degrade the scrolling performance. How it will be affected depends also on what is defined within the CellTemplate. May I ask you to review the Tips and Tricks and Degraded Performance topics, as all suggestions for optimizing the overall performance of the control are listed there?

Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Pavel
Top achievements
Rank 1
answered on 20 Oct 2016, 11:23 PM
Template is a text block with URL. Would be nice if it was a bit faster. Not sure what causes this lag. Templates don't slow down other controls as much (like list view).
0
Stefan
Telerik team
answered on 24 Oct 2016, 12:15 PM
Hello Pavel,

Can you please confirm that you have gone through all suggestions listed in the two articles to which I referred in my previous reply? Also, may I ask you to provide more details on your setup and the usage of the control, so I can try to replicate the problem locally?

Thanks in advance for your cooperation.

Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
GridView
Asked by
Pavel
Top achievements
Rank 1
Answers by
Pavel
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or