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

Horizontal scroll is not smooth in kendo grid.

2 Answers 317 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sana
Top achievements
Rank 1
Sana asked on 27 Jul 2016, 05:50 AM

When scrolling the grid horizontally with the arrow on the sides, the movement is very slow. On longer column or more rows, it slows down even more.  Whereas While moving by dragging the slider with the mouse, it moves fine.

 

Kindly provide me with a solution to fix this horizontal scroll issue.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Jul 2016, 03:15 PM
Hello Sana,

The described behavior might be related to the following: we use two event handlers to synchronize horizontal scroll offsets - one for the Grid data area and one for the Grid header area. Normally, the handler for the header area would not be needed, but we added it to address some edge cases, such as automatic scrolling during column reorder, or searching for text in the headers with Ctrl+F, which caused cell misalignment in the past and generated support tickets.

I can show you how to detach the header handler. Please execute this script after the Grid is created:

$("#Grid-ID").data("kendoGrid").wrapper.find(".k-grid-header-wrap").off("scroll.kendoGrid");


Regards,
Dimo
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Sana
Top achievements
Rank 1
answered on 29 Jul 2016, 02:30 PM
Thank You!!
The code worked, Smooth scrolling now.
Tags
Grid
Asked by
Sana
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Sana
Top achievements
Rank 1
Share this question
or