extjs3.2中datefield和comboBox使用readOnly不正常显示

在ext2.x中如果对datefield设置了readOnly:true这个config,那么日期是不可以手工输入的,只可以通过后面的日期图标进行选择,但是在ext3.2中,如果设置了readOnly:true,那么日期图标就不会显示了,如果还要实现不允许手工输入的效果,可以使用config属性:editable:false即可,comboBox和datefield相似,如果要在extjs3.2下使当前下拉框只读,也要使用editable:false这个属性。

猜你喜欢

转载自blog.csdn.net/bingxue_xuebing/article/details/45459583