Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    62
    Vote Rating
    1
    northbridge is on a distinguished road

      0  

    Default Formatting negative numbers on grid column

    Formatting negative numbers on grid column


    If I format a grid number column with numberrenderer, the column is not getting formatted with comma for -ve numbers but it's fine for positive numbers. I modified the code in the API documentation to reproduce the issue. Here is the code and screen shot

    Ext.create('Ext.data.Store', {
    storeId:'sampleStore',
    fields:[
    { name: 'symbol', type: 'string' },
    { name: 'price', type: 'number' },
    { name: 'change', type: 'number' },
    { name: 'volume', type: 'number' }
    ],
    data:[
    { symbol: "msft", price: -5625.76, change: 2.43, volume: 61606325 },
    { symbol: "goog", price: 5235.73, change: 0.81, volume: 3053782 },
    { symbol: "apple", price: 3432.41, change: 1.35, volume: 24484858 },
    { symbol: "sencha", price: 142.08, change: 8.85, volume: 5556351 }
    ]
    });


    Ext.create('Ext.grid.Panel', {
    title: 'Number Column Demo',
    store: Ext.data.StoreManager.lookup('sampleStore'),
    columns: [
    { text: 'Symbol', dataIndex: 'symbol', flex: 1 },
    { text: 'Current Price', dataIndex: 'price', renderer: Ext.util.Format.numberRenderer('0,0.00/i') },
    { text: 'Change', dataIndex: 'change', xtype: 'numbercolumn', format:'0.00' },
    { text: 'Volume', dataIndex: 'volume', xtype: 'numbercolumn', format:'0,000' }
    ],
    height: 200,
    width: 400,
    renderTo: Ext.getBody()
    });GridNumberFormat.JPG

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,076
    Vote Rating
    60
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    Thanks for the report. This is a known issue:
    http://www.sencha.com/forum/showthread.php?270861

    It has been fixed already and should be part of the 4.2.2 release. This thread has an override which I hope will help you:
    http://www.sencha.com/forum/showthread.php?265856
    Last edited by Gary Schlosberg; 13 Sep 2013 at 5:24 AM. Reason: more info

Thread Participants: 1