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

Grid Cell Edit Mode and Zeros in Numeric Editors

1 Answer 298 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric J at FADV
Top achievements
Rank 1
Eric J at FADV asked on 06 Apr 2016, 02:35 AM
If I have a grid in batch edit mode with numeric columns that add the numeric Editor to the cell, I need it so that when the field value is 0 (zero) it either shows as blank or highlights the zero so a user can type the value without the superfluous zero. In other words, a data-entry person using the keyboard (over the spinner) to navigate the grid and enter data, will need to do extra work to prevent the value from staying as "4000" when they intend to enter "400", b/c the cursor by is to the left of the default value. I've done this myself many times in unit testing. It's an annoying trait when they want to do rapid keyboard-based data entry.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 07 Apr 2016, 02:51 PM

Hello Eric J at FADV,

I would suggest to use the edit event and simply clear the input value if the value is "0". In this case there will be no need user to delete the value and then type the desired value.  Please refer to the http://dojo.telerik.com/uGuRE example. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Eric J at FADV
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or