ExtJS动态设置选项卡索引 [英] ExtJS Dynamically setting tab index

查看:104
本文介绍了ExtJS动态设置选项卡索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在ExtJS中动态设置选项卡索引?我看不到文档中的任何内容,只有一个配置选项。如果我试图做一个应用程序,它仍然不起作用。我知道我可以扩展框架来支持这一点,因为它只是一个DOM元素,但我确信我缺少一些更简单的东西。帮助?

How can I dynamically set a tab index in ExtJS? I can't see anything in the docs for it, only a config option for it. If I try to do an .apply, it still doesn't work. I know I can probably extend the framework to support this since it is just a DOM element, but I'm sure I'm missing something simpler. Help?

推荐答案

似乎在extjs代码中,他们这样做:

It seems that in the extjs code for field they do this:

this.el.dom.setAttribute('tabIndex', this.tabIndex);

这篇关于ExtJS动态设置选项卡索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆