toolbar.items.clickFunction
The click handler of the toolbar command. Used for custom toolbar commands.
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
toolbar: {
items: [
{
name: "custom",
text: "Custom Action",
click: function(e) {
console.log("Custom button clicked");
alert("Custom action executed!");
}
}
]
},
model: {
foo: "bar",
baz: 5
}
});
</script>
In this article