Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Active Item ? #67

Open
rammere opened this issue Aug 2, 2014 · 2 comments
Open

Change Active Item ? #67

rammere opened this issue Aug 2, 2014 · 2 comments

Comments

@rammere
Copy link

rammere commented Aug 2, 2014

Hi,
Thank for this useful plugin .Hope it is not silly question .But I tried to use the setActiveItem and it is not working ( not changing the view ) I tried with numbers ( like 0 1 2 ... ) as well as with object ! .It only return the class of the navigationSlider.
Thanx in advance

@seriousmedia
Copy link

Is there an answer tp this question because i have the same issue. I want to change the activeitem by code, but i'm puzzled by this.

@iosipeld
Copy link

iosipeld commented Jul 7, 2015

You can use standard Sencha select function on underlying menu list:

Ext.getCmp('your-list').select(1)

It selects the second item in menu list.
As alternative to Ext.getCmp you can use refs in controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants