1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    0
    Tremal is on a distinguished road

      0  

    Default Rendering the NumberField content

    Rendering the NumberField content


    Hi,

    I've been mulling over for a while this problem but do not find a correct answer.

    I has write the NumberField and now I need that the value will be render to a german format. For example: 1000.23 --> 1,000.23

    I'm not understanding the process to apply render. Some clue? Thanks!

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,904
    Vote Rating
    177
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    The NumberField doesn't have a renderer method like grid cells do. But, it does have something you may look into overriding the getValue and setValue methods to inject / strip the ',' separator. You'll also need to modify the initEvents method as it sets up the stripCharsRe regular expression that only allows 0-9 (and '.' if allowDecimals is true).

Thread Participants: 1

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