1. #21
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    43
    Vote Rating
    0
    extjs-dev is on a distinguished road

      0  

    Default issue with trailing zero

    issue with trailing zero


    I am using Ext 3.3.1. and this extension works really well

    The issue I am having is with decimal precision.
    I need to have 2 decimal precision no matter what the value is.
    Currently, 12.90 is displayed as 12.9

    Is there a way we can make sure trailing 0 is preserved?

  2. #22
    Sencha User paffinito's Avatar
    Join Date
    Oct 2009
    Location
    Italy
    Posts
    14
    Vote Rating
    0
    paffinito is on a distinguished road

      0  

    Default


    You must set

    Code:
    alwaysDisplayDecimals: true
    Bye
    paffinito

  3. #23
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    43
    Vote Rating
    0
    extjs-dev is on a distinguished road

      0  

    Default


    Quote Originally Posted by paffinito View Post
    You must set

    Code:
    alwaysDisplayDecimals: true
    Bye
    paffinito
    Thank you ...That did the trick

  4. #24
    Ext JS Premium Member bregard's Avatar
    Join Date
    Jul 2008
    Posts
    26
    Vote Rating
    0
    bregard is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    This stuff is in Ext 4.0.

    Ext.util.Format has number and currency formatting options.
    I have used Ext.util.Format in charts and grids, but don't see an easy built in way to handle formatting with fields. Could you provide an example? Thanks...

  5. #25
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    lhidalgo is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    This stuff is in Ext 4.0.

    Ext.util.Format has number and currency formatting options.
    Hi, i'm sorry Animal but i don't see any way to add a formatter to the numberfield.
    Can you show me the property to use for this please ?

    If there's no way to do it simply maybe it exist an extension for Ext 4?

  6. #26
    Ext JS Premium Member bregard's Avatar
    Join Date
    Jul 2008
    Posts
    26
    Vote Rating
    0
    bregard is on a distinguished road

      0  

    Default


    Quote Originally Posted by lhidalgo View Post
    Hi, i'm sorry Animal but i don't see any way to add a formatter to the numberfield.
    Can you show me the property to use for this please ?

    If there's no way to do it simply maybe it exist an extension for Ext 4?
    BUMP

  7. #27
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    lhidalgo is on a distinguished road

      0  

    Default


    Quote Originally Posted by bregard View Post
    BUMP
    Sorry i'm not very good in english, what means "BUMP" ?

    Nobody have an answer about formating fields ?

  8. #28
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    lhidalgo is on a distinguished road

      0  

    Default


    Quote Originally Posted by lhidalgo View Post
    Hi, i'm sorry Animal but i don't see any way to add a formatter to the numberfield.
    Can you show me the property to use for this please ?

    If there's no way to do it simply maybe it exist an extension for Ext 4?
    UP ?

  9. #29
    Ext JS Premium Member bregard's Avatar
    Join Date
    Jul 2008
    Posts
    26
    Vote Rating
    0
    bregard is on a distinguished road

      0  

    Default Sorry

    Sorry


    Quote Originally Posted by lhidalgo View Post
    Sorry i'm not very good in english, what means "BUMP" ?

    Nobody have an answer about formating fields ?
    I apologize. "BUMP" is just a frustrated way of saying that I am having the same problem and need an answer too.

  10. #30
    Sencha User
    Join Date
    Mar 2010
    Posts
    41
    Vote Rating
    0
    karnak is on a distinguished road

      0  

    Default


    I am having the same issue with wanting to apply a renderer to a numberfield. Any help would be appreciated!

Similar Threads

  1. Currency / money field with selectable currency
    By simplessus in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 22 Jan 2011, 3:24 AM
  2. Number Field with currency formatting
    By JSCoder in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 2 Sep 2009, 9:39 AM
  3. Currency Symbol in Ext.ND views
    By cujo13 in forum Ext.nd for Notes/Domino
    Replies: 2
    Last Post: 12 Mar 2009, 6:55 AM
  4. [FIXED] LabelField shows ":" separator symbol
    By Grandiosa in forum Ext GWT: Bugs (1.x)
    Replies: 2
    Last Post: 8 Jun 2008, 8:26 PM

Thread Participants: 21

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi