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

Event when we navigate to a cell in a grid?

1 Answer 463 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Murray
Top achievements
Rank 1
Murray asked on 03 May 2013, 06:30 AM
Hi,

Is there an
event that we can use when we navigate to a cell in a grid either by tabbing or using the keyboard to navigate?

The purpose of this is to show the cell data on an information panel when the user navigates around using the keyboard, but not necessarily edit it or select it.

I have noticed an issue with tabbing and custom drop down list editor.  When tabbing through the cells at a fast pace, sometimes the grid loses focus and the focus goes to a different control on the page and not the
next cell.

Is there anyway after the edit of a cell to regain focus and move to the next cell?

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 07 May 2013, 07:54 AM
Hi Murray,

 
Basically there is no such event which you can use, however you can attach keydown event handler to the grid table where to execute your custom logic - please check the example below: 

var grid = $("#grid").data("kendoGrid");
grid.table.bind("keydown",function(e) {
    //check which key is pressed
    //and execute your custom logic based on it
})

Also I would suggest to share your idea at Kendo UserVoice to allow other users vote for it. Most voted ideas are included in next KendoUI releases. 
Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Murray
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or