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

Use "Enter" to select row/cell

2 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 05 Mar 2014, 01:04 AM
I know we can use the space bar, but there is a requirement to use the enter key also/instead. Is there something like this built into the Grid? What would be the best/suggested way of adding this functionality to the grid in general?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 05 Mar 2014, 02:02 PM
Hello Keith,


By design the enter key is used to edit the current row/cell (depending on the current edit mode), when the navigatable option of the Grid is enabled. If the current Grid is not editable, you could handle the press of the enter key and use the select method of the Grid API. If it is editable, using the built in Grid navigation may not be suitable for the current case.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Keith
Top achievements
Rank 1
answered on 06 Mar 2014, 11:33 PM
That answers my question. Thank you for your response,
-Keith
Tags
Grid
Asked by
Keith
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Keith
Top achievements
Rank 1
Share this question
or