I have a inserted one tabstrip when I click one detail.
But when I clicked on the next detail, the tabstrip is added to the previous row instead of the current one?
Is there a method to target the tabstrip adding dynamically to the current selected row/detail??
var tabstrip = $(".tabstrip").data("kendoTabStrip");
var nextItem = tabstrip.select().next();
if (!nextItem.length) {
tabstrip.insertAfter({ text: 'metadata', contentUrl: URL }, tabstrip.tabGroup.children("li:last"));
tabstrip.select(tabstrip.tabGroup.children().first());
}
But when I clicked on the next detail, the tabstrip is added to the previous row instead of the current one?
Is there a method to target the tabstrip adding dynamically to the current selected row/detail??
var tabstrip = $(".tabstrip").data("kendoTabStrip");
var nextItem = tabstrip.select().next();
if (!nextItem.length) {
tabstrip.insertAfter({ text: 'metadata', contentUrl: URL }, tabstrip.tabGroup.children("li:last"));
tabstrip.select(tabstrip.tabGroup.children().first());
}