Ext.FormPanel,取得items
取得items,设置为不可入力。
// 用name.
Ext.getCmp("formPanel").form.findField('resourcesname').getEl().dom.readOnly = true;
// 用ID,必须指定id
Ext.getCmp("formPanel").findById('resourcesname').getEl().dom.readOnly = true;
取得items,设置为不可入力。
// 用name.
Ext.getCmp("formPanel").form.findField('resourcesname').getEl().dom.readOnly = true;
// 用ID,必须指定id
Ext.getCmp("formPanel").findById('resourcesname').getEl().dom.readOnly = true;
暂无评论。
评论功能维护中,当前仅展示历史评论。