PDA

View Full Version : [CLOSED] change the default increment value of the up/down arrows of a NumberField



CarpFisher
May 21, 2012, 12:56 PM
What is the easiest way to set the incremental value of the up/down arrows of the NumberField? The default is 1, how to change it?

Daniil
May 21, 2012, 1:18 PM
Hi,

Please use the Step property.

Step="5"
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.Number-cfg-step

CarpFisher
May 21, 2012, 1:23 PM
Thank you so much I wonder why I didn't see that....