[CLOSED] Thousand separator in NumberField

  1. #1

    [CLOSED] Thousand separator in NumberField

    Hi,

    We would like to know if we can use a thousand separator on a NumberField. We are aware of the fact that we can use a TextField instead, but that is out of the question for us, and we insist on using a NumberField.

    We also tried using formatting

    <Blur Handler="this.setRawValue(Ext.util.Format.number(this.getValue(), '0,000.00'));" />
    but unfortunately any number taken after the comma is disregarded (e.g, 12,000 is considered as 12) and this does not work for us.

    Also, we are using Ext version 2.4.

    Your help is very much appreciated.
    Last edited by Daniil; Aug 08, 2014 at 10:04 AM. Reason: [CLOSED]
  2. #2
    Unfortunatelly, NumberField doesn't support formating
    It is required to make many overrides in NumberField javascript code to support formating
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Thousand Separator in NumberField
    By EXT in forum 2.x Help
    Replies: 1
    Last Post: Apr 17, 2014, 5:30 PM
  2. Replies: 25
    Last Post: Jan 29, 2014, 4:03 AM
  3. [CLOSED] How to allow thousand separator in ext:NumberField?
    By sailendra in forum 2.x Premium Help
    Replies: 1
    Last Post: May 07, 2012, 11:35 AM
  4. [CLOSED] blank space as thousand separator
    By RomualdAwessou in forum 1.x Premium Help
    Replies: 1
    Last Post: Apr 19, 2011, 8:04 PM
  5. [CLOSED] Thousand separator in number Field
    By FpNetWorth in forum 1.x Premium Help
    Replies: 1
    Last Post: Dec 28, 2010, 2:01 PM

Posting Permissions