I have a Window, something like this:
Then in an event I want to iterate over this buttons, I get the window there but how to get the buttons?
var buttons = getButtons(),
w = Ext.create('Ext.window.Window',
buttons : buttons
I have seen that I can get the docked elements and from there the array of buttons, this is a bit overkilling in my opinion, I mean, the code would be like:
In Ext 3.X there was a method in the window that returned the buttons, any idea how to get them now?
var buttons = ;
if (is in the bottom)
//check if it has buttons, if so then store them in the array