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
close icon

Format issue

Hi 

I am working on Double TextBox with 3 Decimal Places. Displaying as "0.000",

Query : 
1. Suppose the text displayed as "3.142" and If I Remove 2 (last digit) using BackSpace from KeyBoard , "0" is replaced in that location  "3.140",, , I want it be be displayed as "3.14" and after tabout ( When Not in edit Mode) I am want o Apply the Format to Double text box as "3.140".


I mean when Double textBox is in Edit Mode , I dont want to Apply Format , Only after Tabout I want to Apply Tabout.

2.  Text dispalyed "6.359", On BackSpace at "6" position , "0" is

Allow free editing when inputting numbers. Do not display trailing 0's but do limit to numerical input and 3 decimal places.

I am seeing the same behaviour in SyncFusion Samples.

NOTE: Format should be applied on TabOut , Not on Deleting Digits

Waiting for Reply




1 Reply

MA Muthukumar A Syncfusion Team September 21, 2015 10:36 AM UTC

Hi Basavaraj,

Thank you for contacting Syncfusion support.

Since we are formatting the entered values in key down state itself, "Formatting after lostfocus only" is not possible with our DoubleTextBox.

Please let us know in case of any other query.

Regards,
Muthukumar A

Loader.
Live Chat Icon For mobile
Up arrow icon