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

[Solved] Scrolling issue when applying filter

5 Answers 400 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Philipp
Top achievements
Rank 1
Philipp asked on 18 Dec 2014, 09:43 AM
Hi

How can I fix the scrolling behavior in the following example:

- open http://dojo.telerik.com/IPEQe/2
- make sure the screen is small enough so you have to scroll to go to the 'Order Date' 
- select a date in date picker which does not match for any of the rows
- apply

> The table will be scrolled to the left.

This also happens  if you use a text filter and have no matching rows. But especially for dates it is not usable if you have more than 10 or 15 columns. The problem is that you usually select a date first and then choose if it should be 'before' or 'after' or 'equal to' that date. By the strange scrolling, the user loses the focus and will have to figure out again where the filtered column is.

Regards
Philipp







5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Dec 2014, 08:34 AM
Hello Philipp,

The commerical Telerik license, which was associated with your account recently, has been removed by your license holder. Every developer working with Telerik products must have an active license, so please ask your license holder to assign you as a licensed developer again. Then you will also be able to benefit from our technical support service.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Philipp
Top achievements
Rank 1
answered on 05 Jan 2015, 07:31 AM
Hello Dimo,

I have my license back, do you have any suggestions how to fix this?

Regards
Philipp
0
Accepted
Dimo
Telerik team
answered on 05 Jan 2015, 08:39 AM
Hi Philipp,

You can use the Grid's dataBinding event to save the current scroll offset of the div.k-grid-content element, and then re-apply it in dataBound.

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Philipp
Top achievements
Rank 1
answered on 05 Jan 2015, 03:49 PM
Hi Dimo

Works like a charm, thanks a lot! Wouldn't it make sense to implement this as default behavior in the grid?

Regards
Philipp
0
Dimo
Telerik team
answered on 07 Jan 2015, 09:30 AM
Hi Philipp,

The discussed behavior is a somewhat edge use case scenario, which occurs rarely and has been outside our development scope so far. However, you can submit and vote for such a feature on our feedback portal:

http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Dhara
Top achievements
Rank 1
commented on 19 Mar 2026, 11:35 AM

same issue is there any solution for this?

 

Viktor Tachev
Telerik team
commented on 20 Mar 2026, 11:19 AM

Hello Dhara,

 

With the current version of the components the Grid is not scrolled. I used the following dojo for testing:

https://dojo.telerik.com/JYqHmqKt

When filtering OrderDate as described in the first post the scroll position is persisted on my end.

Tags
Grid
Asked by
Philipp
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Philipp
Top achievements
Rank 1
Share this question
or