toolbar.items.nameString
The name of the toolbar command. Can be either a built-in ("search", "sort", "group" or "details") or a custom string. The name is output in the HTML as a value of the data-command attribute of the button.
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
toolbar: {
items: [
{ name: "search" },
{ name: "sort" },
{ name: "customAction", text: "Custom" }
]
},
model: {
foo: "bar",
baz: 5
}
});
</script>
In this article