Ext.form.NumberField的属性

Ext.form.NumberField({
        allowDecimals: false,     // 是否与许小数
        decimalPrecision: 0,      // 小数位精度
        allowNegative: false,    // 是否允许负数
        selectOnFocus: true,    //
        allowBlank: true,
        applyTo: 'txtCard',
        emptyText: '- Scan -'
    });

原文地址:https://www.cnblogs.com/minideas/p/1861670.html