{ xtype: ‘numbercolumn‘, text: ‘亏盈数量‘, width: 130, dataIndex: ‘LossOrProfitNum‘, editor: { xtype: ‘numberfield‘, minValue: 0, decimalPrecision: 2 }, renderer: function (value, cellmeta) { return Ext.util.Format.number(value, ‘0.00‘); } }
ExtJS Grid Column Number,布布扣,bubuko.com
原文:http://www.cnblogs.com/denghuachengle/p/3905485.html