toolbar.buttons Array

Defines the collection of buttons that will be rendered. When using only an array of strings, the added string will define the name option of the button.

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    toolbar: {
        buttons: [
            { name: "ButtonA", iconClass: "k-icon k-i-gear" },
            { name: "ButtonB", iconClass: "k-icon k-i-gear" }
        ]
    }
});
</script>

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    toolbar: {
        buttons: [ "ButtonA", "ButtonB" ]
    }
});
</script>
In this article