sencha-SlideNavigation icon indicating copy to clipboard operation
sencha-SlideNavigation copied to clipboard

Change Active Item ?

Open rammere opened this issue 10 years ago • 2 comments

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

rammere avatar Aug 02 '14 15:08 rammere

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.

seriousmedia avatar Jun 19 '15 05:06 seriousmedia

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.

iosipeld avatar Jul 07 '15 21:07 iosipeld