items

Returns the menu items as DOM elements wrapped in jQuery collection.

Example

<button id="splitButton">Command</button>
<script>
    var splitButton = $("#splitButton").kendoSplitButton({
        items: [
            { text: "Option 1", id: "opt1" },
            { text: "Option 2", id: "opt2" },
            { text: "Option 3", id: "opt3" }
        ]
    }).data("kendoSplitButton");

    // Get all menu items
    var items = splitButton.items();
    console.log("Number of menu items:", items.length);
    
    // Access specific item
    items.each(function(index, item) {
        console.log("Item " + index + ":", $(item).text());
    });
</script>

Returns

jQuery

In this article
items
Not finding the help you need?
Contact Support