1. #1
    Sencha Premium Member
    Join Date
    Apr 2010
    Posts
    193
    Vote Rating
    24
    elgs will become famous soon enough

      0  

    Default Why thousandSeparator is not in Ext.form.field.Number just as decimalSeparator is?

    Why thousandSeparator is not in Ext.form.field.Number just as decimalSeparator is?


    Why thousandSeparator is not in Ext.form.field.Number just as decimalSeparator is? I have some concern using:
    Code:
    Ext.util.Format.thousandSeparator = '.';
    Ext.util.Format.decimalSeparator = ',';
    as I think it will set these variables globally. I want to set these two separators on a field basis. Is it possible?

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,114
    Vote Rating
    59
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      0  

    Default


    I don't know of an easy way to do this, but hopefully someone will add something more helpful. If you really feel this is necessary, file a Feature Request (file bug and indicate that you are making a feature request).

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    flek is on a distinguished road

      0  

    Default


    Maybe it could help to try loading different localization file, or look at the localization file for your language to see if the thousands separator was defined there? My point being, maybe it just wasn't documented...

Thread Participants: 2