Ext.each(menu.items, myFunction) not working?
I'm starting with ExtJS. While trying to cycle a split button's items I get undefined errors with:
While the following will work fine:
I don't know if this is by design, or I'm doing something wrong, but I feel there must be a more elegant way of cycling menu items. I don't use menu.items.each(), because I need to recursivelly cycle all buttons/menu items in a toolbar...
So I guess this would be question #2??