1.下面是一个btn按钮的代码,默认不可以点击
{ id: 'skipStep3', disabled: true,//默认不可点击 text: "跳转第三步", handler: function () { SaveDataAggrContSetting_Step2_1(); SaveDataAggrContSetting_Step2_2(); } },
2.设置可以点击代码
Ext.getCmp('skipStep3').setDisabled(false);//可点击