toolbar.items.attributesObject

Specifies the HTML attributes of a ToolBar button.

Example

<div id="taskBoard"></div>
<script>
$("#taskBoard").kendoTaskBoard({
    toolbar: {
        items: [
            { 
                text: "Custom Button", 
                icon: "plus",
                attributes: {
                    "data-action": "add",
                    "title": "Add new card",
                    "class": "custom-button"
                }
            }
        ]
    },
    dataSource: [
        { id: 1, title: "Task 1", status: "todo" }
    ],
    columns: [
        { text: "To Do", status: "todo" }
    ]
});
</script>
In this article
toolbar.items.attributes
Not finding the help you need?
Contact Support