PDA

View Full Version : [CLOSED] setActiveItem() works for items with "id" but not "itemId"



johnnywengluu
14 Nov 2011, 2:58 AM
I have a panel using a card layout. It has some items with "itemId".

When I use panel.setActiveItem(itemId) I get the following message:

"Uncaught TypeError: Cannot call method 'isInnerItem' of undefined"

It works perfectly if I use "id" instead of "itemId" on the items.

Seems like a bug similar to this one here:

http://www.sencha.com/forum/showthread.php?153357-setPressed()-should-work-for-itemId

Jamie Avins
14 Nov 2011, 9:49 AM
We will review it, thank you for the report.