ai.aiAssistantWindow.restore
Triggered when the AI Assistant Window is restored to its previous state(maximized or minimized) by pressing the restore button, or when the restore()
method is called.
Example - subscribing to the restore event
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [{ field: "name" }],
dataSource: [{ name: "Jane Doe" }],
toolbar: ["aiAssistant"],
ai: {
aiAssistantWindow: {
resize: () => console.log("AI Assistant Window resize!")
},
service: "https://demos.telerik.com/service/v2/ai/grid/smart-state",
}
});
</script>
In this article