enable

Disables (false) or enables (true) a tab(s) of a TabStrip.

Example

<div id="tabstrip">
    <ul>
        <li>Tab 1</li>
        <li>Tab 2</li>
    </ul>
    <div>Content 1</div>
    <div>Content 2</div>
</div>

<script>
    var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
    tabStrip.enable(tabStrip.tabGroup.children().eq(0), false);
    tabStrip.enable(tabStrip.tabGroup.children().eq(0), true);
</script>

Parameters

element String|Element|jQuery

The target tab(s), specified as a selector, to be enabled (true) or disabled (false).

enable Boolean (optional)

Desired state of the tab(s) specified by the selector; enabled (true) or disabled (false).

Returns

kendo.ui.TabStrip Returns the TabStrip object to support chaining.

In this article