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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Get rid of Thousand Seperator in

Thread ID:

Created:

Updated:

Platform:

Replies:

146310 Jul 30,2019 07:42 PM UTC Jul 31,2019 12:01 PM UTC Xamarin.Forms 1
loading
Tags: SfDataForm
Mario
Asked On July 30, 2019 07:42 PM UTC

I have a numeric editor in my SfDataForm.

I would like to remove the thousand seperator since I'm using it as an editor to enter a year 

Subburaj Pandian Veluchamy [Syncfusion]
Replied On July 31, 2019 12:01 PM UTC

Hi Mario, 
  
Thank you for contacting Syncfusion support. 
  
We have analyzed your requirement “Disable thousand separators in numeric text field of DataForm”. DataFormNumericItem has EnableGroupSeparator property to enable and disable thousand separators by setting EnableGroupSeparator to false you can achieve your requirement.  
 
Kindly refer our UG documentation to know more about EmableGroupSeparator of DataFormNumericItem. 
  
  
Code Snippet: 
private void DataForm_AutoGeneratingDataFormItem(object sender, AutoGeneratingDataFormItemEventArgs e) 
    if(e.DataFormItem != null
    { 
         if(e.DataFormItem.Name == "BirthYear"
         { 
             (e.DataFormItem as DataFormNumericItem).EnableGroupSeparator = false
         } 
    } 
  
We have prepared a sample for the same, 
 
Sample link: DataForm 
  
We hope this helps. Kindly revert us if you have any concern. 
 
Regards,
Subburaj Pandian V     


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon