PDA

View Full Version : Please. Basic question, how to show a fullscreen panel from a list click?



aonjavadev
6 Feb 2011, 7:55 PM
New to Sencha Touch and knowing how to open a new panel (in fullscreen mode) has been keeping me from progressing in my application. I tried using a NestedList with a detailCard and that worked but when I go back to the list the detailCard stays fullscreen, so I was using a regular list (with Disclosure: true) and if I can just get a panel to appear then I can go along with my app, but I just don't seem to be able to figure out what I am doing wrong? Maybe an example to a itemtap handler would be nice to show how to get a panel (with a card layout) to work. Thanks in advance.

aonjavadev
6 Feb 2011, 9:36 PM
I have found the error of my ways. :D

I had this: layout: { type:'card'}

instead of this: layout: 'card'