2. Readonly=true只是简单的设置内部DOM元素的readonly属性,但是对checkbox无效。
可以看extjs的解释:
Note: this only sets the element's readOnly DOM attribute. Setting readOnly=true, for example, will not disable triggering a ComboBox or DateField; it gives you the option of forcing the user to choose via the trigger without typing in the text box.作者: 凤舞天翔 时间: 2012-4-9 12:28