This is an override to Ext.form.field.Number, it separates thousands in numbers entered in better readablity.
Just include the file add add a config like useThousandSeparator: true
to aby Ext JS 4 numberfield.
You can also change the separator character by setting it on Ext.util.Format.thousandSeparator
.
- See demo: http://jsfiddle.net/OmidShariati/q2gR2/embedded/result/
- See sample code on fiddle: http://jsfiddle.net/OmidShariati/q2gR2/