我在extjs中有向导,我在那里放置下一个,后退和取消按钮。 根据要求,我需要自动将焦点设置在下一个按钮上。怎么做。将自动对焦设置为下一个按钮
buildButtons : function() {
return [
{
text:'Back',
id:'backBtn',
hidden:true,
autoHeight:true,
action: 'Back'
},
{
text:'Next',
id:'nextBtn',
autoHeight:true,
hidden:false,
action: 'Next'
},
{
text:'Finish',
id:'finishBtn',
autoHeight:true,
hidden:false, // Comments below line if you want finished button on each panel.
//hidden:true,
action: 'Finish'
},
{
text:'Cancel',
id:'cancelBtn',
autoHeight:true,
hidden:false,
action: 'Cancel'
}
];
}
请检查我的代码,并帮我在这。 – Dhananjay
@Dhananjay文章编辑 – sra