Hi!
I am considering if it's possible to call setActiveItem from button's click event handler. I'm using Sencha Architect, I've tried several methods, but without luck. I was trying to run the code:
I would be very grateful for any help.Code:onMenuitemClick: function(item, e, options) {
//alert('Item clicked!'); //thats working
Ext.getCmp('MyForm') ; //return undefined
//Ext.getCmp('MyForm').getLayout().setActiveItem(1);
}
