组合框 组件 如何用脚本来获得焦点?
发现组合框组件中的input是动态生成,如何通过脚本来获得焦点?谢谢 管理员大大。本帖最后由 论坛管理员 于 2021-11-1 11:31 编辑
您好;blur事件只在input 才会有!
组合框最开始没有input的。
如果点击后才可以使用
var input = this.form.get("combox").combox.input;
if(input && input.node)input.node.focus();
或者您直接调用方法
this.form.get("combox").combox.intoEdit();
收到,感谢。 ren2672 发表于 2021-11-2 11:38
收到,感谢。
:lol
页:
[1]