PDA

View Full Version : CardLayout navigation



Theodosis
19 Sep 2010, 8:38 PM
Hello! Is there a way to get the index of a card in a cardlayout? Or alternatively, is there a way to get the next / previous cards?

schoonmoeder
19 Sep 2010, 10:43 PM
look at the API there is a preview code about how to do next en previous.
http://dev.sencha.com/deploy/dev/docs/?class=Ext.layout.CardLayout
you can use some simple names like step-0 step-1 to even make it easier to find what's the next index.

Animal
19 Sep 2010, 11:56 PM
http://dev.sencha.com/deploy/dev/docs/?class=Ext.Container&member=items

Animal
19 Sep 2010, 11:57 PM
http://dev.sencha.com/deploy/dev/docs/?class=Ext.Component&member=nextSibling

http://dev.sencha.com/deploy/dev/docs/?class=Ext.Component&member=previousSibling

Theodosis
20 Sep 2010, 4:47 AM
Thank you, got it :)