View Full Version : problem with format numberfield

9 Nov 2009, 6:55 AM
Hi all, I've got a question how can I put a number with decimals, I mean If I put 0.00058, I receive 0, and If I put 0.058, I've got 0.6, but I want the number with all its your decimals exactly, can anybody help me,

I use this:

'Registration': new Ext.grid.GridEditor(new Ext.form.NumberField({})),

9 Nov 2009, 7:06 AM
upsss, I found the answer, was only put decimalPrecision:P

'Registration': new Ext.grid.GridEditor(new Ext.form.NumberField({decimalPrecision:4}))