ai.aiAssistant.toolbarItemsArray

An array of toolbar items to display in the AI Assistant header toolbar.

Example - add custom toolbar items

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     aiAssistant: {
       toolbarItems: [
         { type: "spacer" },
         {
           type: "button",
           icon: "gear",
           fillMode: "flat",
           rounded: "full",
           click: function(e) {
             console.log("Settings clicked");
           }
         },
         {
           type: "button",
           icon: "x",
           fillMode: "flat",
           rounded: "full",
           themeColor: "primary",
           click: function(e) {
             console.log("X clicked");
           }
         }
       ]
     },
     service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
   }
});
</script>