toolbar.click Function
The click
handler of the toolbar command. Used for custom toolbar commands.
Example - specifying the name of the command
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
toolbar: [
"search",
{ name: "custom", click: function() { alert("custom"); } }
],
model: {
foo: "bar",
baz: 5
},
width: 500
});
</script>