ai.aiAssistant.promptTextAreaObject
Configuration options for the TextArea component used in the AI Assistant prompt view.
Example - configure prompt textarea
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [{ field: "name" }],
dataSource: [{ name: "Jane Doe" }],
toolbar: ["aiAssistant"],
ai: {
aiAssistant: {
promptTextArea: {
resize: "vertical",
rows: 4,
placeholder: "Ask AI about your grid data...",
fillMode: "outline",
rounded: "medium",
size: "large",
maxLength: 1000,
label: {
content: "Grid AI Prompt",
}
}
},
service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
}
});
</script>
In this article