PDA

View Full Version : Tabs Load Data on Click and switching to another Tab



msn
24 Jul 2010, 11:13 AM
Hello,

i working some hours ~o) with sencha and till now it looks a little bit heavy to learn. i read some topics but i dont find anything about 2 major Questions i have now.


1. Question
i Have a Tabbar
Item 1 contained a List
Item 2 contained an other List

Both worked for me after a change to JSON because i got an error (http://www.sencha.com/forum/showthread.php?103586-xml-reader-error)

i want do load the data into List2 only if the button is clicked (many Rows will be returned)

2. Question
if i click a item i will change to Tab 1 and reload the list with the parameter given by list 2

can someone give me an advice or a hint to solve this ?



[ UPDATE ]
i found with try and error TabPanel.setCard(0) will change the Tab!

maybe i find the other stuff to