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

Kendo UI Grid: Virtual scrolling need to work with Page up / down key of keyboad

1 Answer 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jignesh
Top achievements
Rank 1
Jignesh asked on 21 Oct 2016, 08:57 AM

Hi,

In my project, We are using Kendo UI grid with virtual scrolling feature. By using mouse scroll it is working as expected. As our new requirement, grid data scroll is also working with Page up/Down key of key board.

Please let me know is it possible with Kendo UI grid?

We are using AngularJS 1.4 in our project.

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 24 Oct 2016, 12:36 PM
Hello Jignesh,

The desired functionality is not supported, but can be achieved via some custom coding. A possible approach is to create a custom keydown event handler, and conditionally use the jQuery scrollTop() method to programmatically scroll the container to the desired offset, e.g.:

http://dojo.telerik.com/IdIBU/3

Please mind that the sample implementation is not properly tested and officially supported, and is for illustrative purpose only. It can be used as a starting point for further adjustments that would possibly better suit the custom scenario.

Regards,
Dimiter Topalov
Telerik by Progress
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
Tags
Grid
Asked by
Jignesh
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or