I found the following issue navigating through cells on a batch edit mode grid: When you use the up and down keys on a numeric column, the values increases and decreases altering the values in an undesired way.
You can reproduce this on the online demo just clicking a numeric field and pressing key up and down --> Grid Batch Editing
Is this an expected behaviour or something that can be controlled in some way?
6 Answers, 1 is accepted
By default the NumericTextBox intercepts the arrow keys and increments/decrements the value. If you would like to change the behavior you can add an external grid editor and configure it to ignore the arrow keys.
The code-snippets below illustrate the markup for the column and the external editor.
You can find more details in the following answer.
Hi. I have similar problem. When Grid in batch mode, and I click in cell, I can edit value without any problem. But than users want to press up down key to move to next cell. And this is not working. If textbox is numeric box, than value is incremented. If regular text box cursor goes either to start or end of field.
For the NumericTextBox use the solution provided in my earlier reply.
For the regular textboxes check how this demo is implemented https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx because it behaves properly on my end, e.g.
- I am able to go up and down using the top and bottom arrow keys
- I can go to the next cell by pressing the Tab key and go back on the previous with Shift+Tab.
It is still not working.
I am using Telerik version 2013.2.717.45. Maybe this is the problem?
I have sample solution that reproduce the issue. Can I send in zip file?
I tested version 2013.2.717.45 and can confirm that the requested keyboard navigation is not offered by it.
That's why my recommendation is to upgrade to the latest version 2019.1.215 which is much enhanced and also offers support for the latest browsers versions.