This is a migrated thread and some comments may be shown as answers.

[Solved] Change Selected tab in OnSelect Event

0 Answers 194 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dipak
Top achievements
Rank 1
Dipak asked on 30 Apr 2013, 03:30 PM
Hello,

I am using TabStrip with LoadContentFrom. I have treeview on left hand side. now based on my requirement on different level of treeview i have to select specific tab.

so, on OnSelect Event i am using below code so i can change the selected tab.

    
var $item = $(e.item);
 
        if ($item.index() == 0) {
            var tabstrip = $("#PMTab").data("tTabStrip");
 
            var item1 = $("li", tabstrip.element)[1];
            tabstrip.select(item1);
 
        }

so if i select tab 0 and i have some level selected on left hand side treeview i have to change selection dynamically and i have to show tab 1 in that condition.

Appreciate any help in this direction.


Tags
TabStrip
Asked by
Dipak
Top achievements
Rank 1
Share this question
or