ai.aiAssistant.outputActions.typeString

Specifies the type of the action. Available options: "button", "spacer".

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      outputActions: [
        {
          command: "action1",
          text: "Action 1",
          type: "button"
        },
        {
          type: "spacer"
        },
        {
          command: "action2",
          text: "Action 2",
          type: "button"
        }
      ]
    }
  }
});
</script>