一个numberfield组件,在某个方法中将其readOnly设置为true,该组件就变为只读了,
同时,该组件的上下箭头按钮就没有了。
但之后在另一方法中,又将readOnly设置为false,那应该该组件就可编辑了,并且它
的上下箭头按钮就应该出现了,但不是这样。
查了Extjs 4的文档,它说readOnly=true时,它会同时hides the trigger.
Supercedes the editable and hideTrigger options if the value is true。
所以我就再加上一句XX.hideTrigger=false; XX.editable=true,可还是不行。