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.
The main purpose of the Ext JS framework is to allow developers to design perfect and scalable web apps. With all of Sencha's components and additional tools, you can significantly speed up the software development process. Everything is meant to work together very smoothly.
ExtJS or Extended JavaScript is a comprehensive JavaScript framework developed by Sencha for building comprehensive web and mobile applications.
ExtJS 4.0. 2a is open source under GPL v3. 0. You may fork and distribute the fork accordingly.
For getting column header menu in lower version of ExtJS try this.
afterRender: function () {
var getMenu = this.view.hmenu.items;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With