ExtJS Grid Column Number

时间:2014-08-11 21:05:32   收藏:0   阅读:171
 {
                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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!