Hi in Sencha touch 2.0 we use to set active item by using ".SetActiveItem("ID_OF_ITEM"); but in sencha 2.1 its not working. how can we set any item in tab panel explicitly ?
Printable View
Hi in Sencha touch 2.0 we use to set active item by using ".SetActiveItem("ID_OF_ITEM"); but in sencha 2.1 its not working. how can we set any item in tab panel explicitly ?
Try this beast of a line out.
Ext.ComponentQuery.query(..selector..)[0].getDockedItems()[0].setActiveTab(1)
Code:setActiveItem('#ID_OF_ITEM');// plus '#' in st2.1,it is cmp query