deactivateTab

Deactivates a tab specified as a selector. Note: Invoking this method will not trigger any events.

Example

<div id="tabstrip">
    <ul>
        <li id="tab1" class="k-active">Tab 1</li>
        <li>Tab 2</li>
    </ul>
    <div>Content 1</div>
    <div>Content 2</div>
</div>

<script>
  var tabstrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
  var tabToDeactivate = $("#tab1");
  tabstrip.deactivateTab(tabToDeactivate);
</script>

Parameters

item jQuery

The target tab, specified as a selector, to be deactivated.

In this article