Thousand separator

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Thousand separator

    Hello everyone

    I am have trying to use comma for separate thousand, this is my code:

    <ext:ModelField Name="OTC" Type="Float"></ext:ModelField>
    
    <ext:Column ID="ClmOTC" runat="server" Width="60" Text="% OTC" Sortable="false" DataIndex="OTC" SummaryType="Sum">
             <Renderer Handler="return value+'%';"></Renderer>
             <SummaryRenderer  Handler="return Ext.util.Format.number(value,'0,000.00')+'%';"></SummaryRenderer >
     </ext:Column>
    for example if the number is 12345.87, I need the number 12,345.87 instanceof 12.345,87

    Thanks for your help!
    Last edited by fabricio.murta; Jan 22, 2016 at 8:48 PM.

Similar Threads

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

Posting Permissions