ai.aiAssistant.views.promptCommands.iconString
The icon name 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: "insights",
promptCommands: [
{
id: "insights",
text: "Generate Insights",
icon: "lightbulb"
}
]
}
]
}
}
});
</script>
In this article