admin管理员组文章数量:1415100
I am using Ext JS 3 and I need to get ahold of the menu of my column header. I tried to use afterrender of grid.
My code is somewhat like
listeners: {
afterrender: function() {
var menu = this.headerCt.getMenu();// wrong
}
}
But apparently headerCt
is not available in Ext JS 3. What other possible options can I use? I did not get any ideas from the Docs.
I am using Ext JS 3 and I need to get ahold of the menu of my column header. I tried to use afterrender of grid.
My code is somewhat like
listeners: {
afterrender: function() {
var menu = this.headerCt.getMenu();// wrong
}
}
But apparently headerCt
is not available in Ext JS 3. What other possible options can I use? I did not get any ideas from the Docs.
1 Answer
Reset to default 12For getting column header menu in lower version of ExtJS try this.
afterRender: function () {
var getMenu = this.view.hmenu.items;
}
本文标签: javascriptWhat is the alternate of headerCtgetMenu() in Ext JS 3Stack Overflow
版权声明:本文标题:javascript - What is the alternate of headerCt.getMenu(); in Ext JS 3 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745147886a2644782.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论