New to Kendo UI for jQueryStart a free 30-day trial

Enable

methods

Enables or disables the SplitButton and all the items in the Button list.

Parameters:stateBoolean

Indicates whether the SplitButton should be enabled or disabled. true and false arguments are accepted. If no argument is supplied, the SplitButton will assume true and will be enabled.

itemsString|jQuery

Collection of the items to disabled/enabled.

<button id="splitbutton" type="button">Button</button>
<script>
    $("#splitbutton").kendoSplitButton({
        items:[
            { text: "item 1" },
            { text: "item 2" }
        ]
    });
    var button = $("#splitbutton").data("kendoSplitButton");
    // disable button
    button.enable(false);
</script>
<button id="splitbutton" type="button">Button</button>
<script>
    $("#splitbutton").kendoSplitButton({
        items:[
            { id: "item1", text: "Item 1" },
            { id: "item2", text: "Item 2" }
        ]
    });
    var button = $("#splitbutton").data("kendoSplitButton");

    button.enable(false, "#item1");
</script>
<button id="splitbutton" type="button">Button</button>
<script>
    $("#splitbutton").kendoSplitButton({
        items:[
            { id: "item1", text: "Item 1" },
            { id: "item2", text: "Item 2" }
        ]
    });
    var button = $("#splitbutton").data("kendoSplitButton");

    button.enable(false, $("#item1, #item2"));
</script>
Not finding the help you need?
Contact Support