items.togglable Boolean (default: false)

Specifies if the button is togglable, e.g. has a selected and unselected state.

Buttons with togglable: true will fire the toggle event. click event will not be fired.

Example

<div id="toolbar"></div>

<script>
    $("#toolbar").kendoToolBar({
        items: [
            { type: "button", text: "Foo", togglable: true }
        ]
    });
</script>
In this article
Not finding the help you need? Improve this article