引用extjs/plugins/Spinner.js
extjs/plugins/SpinnerField.js
var percent = new Ext.ux.form.SpinnerField({
fieldLabel: '完成百分比',
name: 'percentComplete',
minValue: 0,
maxValue: 100,
defaultValue:0,
value : percentComplete,
width : 105,
id:'percentComplete'
})