toolbar.items.imageClassString
A class name that will be rendered inside the toolbar button. When you set this option, the PropertyGrid renders an additional span
element inside the toolbar button which has a class name set to the option
value. This approach allows you to display an icon inside your custom toolbar commands.
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
toolbar: {
items: [
{
name: "custom",
text: "Action",
imageClass: "custom-icon"
}
]
},
model: {
foo: "bar",
baz: 5
}
});
</script>
In this article