I'm starting with ExtJS. While trying to cycle a split button's items I get undefined errors with:
Ext.each(menu.items, myFunction)

While the following will work fine:
Ext.each(menu.items.items, myFunction)

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??