ai.aiAssistant.views.promptCommands.textString

The text of the command item.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      views: [
        {
          type: "prompt",
          name: "analysis",
          promptCommands: [
            {
              id: "trend",
              text: "Find Trends",
              icon: "trend-up"
            }
          ]
        }
      ]
    }
  }
});
</script>