ExtJS中动态设置TextField的readOnly属性 canfly2010 · 2010-04-28 14:49 · ExtJS · Web前端 · EXT · Markdown 假设 textField, 它的 id = 'textField' 则代码如下:Ext.getCmp("textField").getEl().dom.readOnly = true