javascript - What is the alternate of headerCt.getMenu(); in Ext JS 3 - Stack Overflow

I am using Ext JS 3 and I need to get ahold of the menu of my column header. I tried to use afterrender

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.

Share Improve this question edited Sep 7, 2016 at 10:16 David asked Aug 25, 2016 at 6:14 DavidDavid 4,28311 gold badges41 silver badges91 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 12

For getting column header menu in lower version of ExtJS try this.

afterRender: function () {
    var getMenu = this.view.hmenu.items;
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745147886a4613730.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信