I'm adding a new tab dynamically to my kendoTabStrip. This is working fine, but the new tab does not get wrapped in an <a> tag like the tabs which are created from the <li>'s, rather it is wrapped in a <span>. Here is my code:
Is this the expected behavior? Is there a way to specify the wrapper for the tab text?
<
div
id
=
"tab-strip"
>
<
ul
>
<
li
class
=
"k-state-active"
id
=
"tab1"
>Tab 1</
li
>
<
li
id
=
"tab2"
>Tab 2</
li
>
</
ul
>
<
div
>
Content 1
</
div
>
<
div
>
Content 2
</
div
>
</
div
>
$('#tab-strip').data('kendoTabStrip').append([{
text: "New Tab",
content: "my content"
}]);
Is this the expected behavior? Is there a way to specify the wrapper for the tab text?