New to Kendo UI for jQueryStart a free 30-day trial

An array of action configurations for the output cards in the AI Assistant.

Default: ["copy", "retry"]

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     aiAssistant: {
       outputActions: [
         "copy",
         "retry",
         "rating",
         { command: "export", text: "Export", icon: "download" },
         { command: "share", text: "Share", icon: "share" }
       ]
     },
     service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
   }
});
</script>

The command identifier for the action.

<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: "copyOutput",
          text: "Copy",
          icon: "copy"
        }
      ]
    }
  }
});
</script>

Specifies the fill mode of the action button. Available options: "solid", "outline", "flat", "none".

<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: "save",
          text: "Save",
          fillMode: "outline"
        }
      ]
    }
  }
});
</script>

The icon name for the action button.

<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: "share",
          text: "Share",
          icon: "share"
        }
      ]
    }
  }
});
</script>

Specifies the border radius of the action button. Available options: "small", "medium", "large", "full", "none".

<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: "refresh",
          text: "Refresh",
          rounded: "large"
        }
      ]
    }
  }
});
</script>

The text displayed on the action button.

<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: "export",
          text: "Export Results",
          icon: "download"
        }
      ]
    }
  }
});
</script>

Specifies the theme color of the action button.

<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: "approve",
          text: "Approve",
          themeColor: "success"
        }
      ]
    }
  }
});
</script>

Specifies the title attribute (tooltip) for the action button.

<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: "help",
          text: "Help",
          title: "Get help about this output"
        }
      ]
    }
  }
});
</script>

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

<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>