toolbar.items.clickFunction

Specifies the click handler of the button.

Example

<div id="taskBoard"></div>
<script>
$("#taskBoard").kendoTaskBoard({
    toolbar: {
        items: [
            { 
                text: "Custom Action", 
                icon: "star",
                click: function(e) {
                    console.log("Custom button clicked!");
                    alert("Button clicked");
                }
            }
        ]
    },
    dataSource: [
        { id: 1, title: "Task 1", status: "todo" }
    ],
    columns: [
        { text: "To Do", status: "todo" }
    ]
});
</script>
In this article
toolbar.items.click
Not finding the help you need?
Contact Support