toolbar.icon String

Specifies the icon's 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 name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.

Example - specifying the name of the command

<div id="propertyGrid"></div>
<script>
  $("#propertyGrid").kendoPropertyGrid({
    toolbar: [{name: "custom", text: "About", icon: "info-circle", imageClass: "custom-info" }],
    model: {
        foo: "bar",
        baz: 5
    },
    width: 500
  });
</script>
In this article