Completed
Last Updated: 20 Feb 2017 13:06 by ADMIN
Brian Roth
Created on: 14 Nov 2013 00:07
Category: NumericTextBox
Type: Feature Request
13
Add the ability to edit data in the percentTextBox as a percent
When using the percentTextBox control, it would be nice if there was an option to have the control allow the editing of the data as a percent.  Currently it will show the percent as a decimal value (e.g. 50% would show .5)  For our users, it's more intuitive for them to enter the percent instead of the decimal value.  Kendo would need to do the conversion to/from percent and decimal behind the scenes so that the data is saved properly on the underlying model as a decimal value.
3 comments
ADMIN
Petyo
Posted on: 20 Feb 2017 13:06
This is supported through the `factor` configuration option: check the example:

http://kendobuild-staging.openstack.progress.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-factor
Jon
Posted on: 05 Feb 2014 23:51
I use both the standalone editors and the grid editors. This would be particularly helpful for our user experience. I know it seems silly, but our users don't always understand that say 25% is the same as .25. If anyone has a particularly elegant workaround please let me know!
Brian Roth
Posted on: 14 Nov 2013 00:08
Forgot to mention, my particular scenario is editing cells in a kendo grid with the ASP.NET MVC Wrappers