I use this HTML:
Then convert it to TabStrip:
The tab is selected, but containt not visible. If I trig the same code with a button click, all is working good.
If I use the class="k-state-active" in the HTML the tab is selected and the containt is visible.
Thanks
<
div
id
=
'test'
>
<
ul
>
<
li
>Tab1</
li
>
<
li
>Tab2</
li
>
<
li
>Tab3</
li
>
</
ul
>
<
div
>
Content 1
</
div
>
<
div
>
Content 2
</
div
>
<
div
>
Content 3
</
div
>
</
div
>
Then convert it to TabStrip:
$(
'test'
).kendoTabStrip({
animation: {
open: {
effects: effet
}
}
});
var
tabs = $elem.data(
"kendoTabStrip"
);
//Get Kendo element
tabs .select(
"li:contains('Tab1')"
);
The tab is selected, but containt not visible. If I trig the same code with a button click, all is working good.
If I use the class="k-state-active" in the HTML the tab is selected and the containt is visible.
Thanks