We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Format percentage in NumericTextBox

Hi

I'm using NumericTextBox in a grid (mode="Batch") and want a percentage format in edit mode. You can see the result in the image below.  The NumericTextBox should display 230% not 2,3.

If I change mode="Normal" it works in edit mode but after editing the format is incorrect.

I have attached a sample application. 

Regards,

/S



Attachment: TestWebApp_9fcb5593.zip

4 Replies

TS Thavasianand Sankaranarayanan Syncfusion Team October 31, 2019 01:53 PM UTC

Hi Stefan, 

Greetings from Syncfusion support. 
 
We analyzed your query and found that, the default behavior of the numeric text box is rejecting the “%” symbol when it was focused. In inline editing mode also, when the frieght column is focused the “%” symbol will faded out. We have attached some screenshots for your reference. Kindly refer this. 

When start for inline editing:  
 
    

 
When we focusing on fright column % gone from the numeric textbox 
 
 



Please get back to us if you need further assistance 

Regards, 
Thavasianand S. 



ST Stefan October 31, 2019 03:10 PM UTC

Hi again.

That's not the problem! If you look at my screenshots you see that the value displayed in the numeric textbox is 2,3 it should be 230. After editing the value is 23 000%
Run the attached code and you can see this behavior. We use  sv-SE culture with "," as decimal separator.