ai.aiAssistantWindow.refresh

Triggered when the content of a AI Assistant Window has finished loading via Ajax, when the Window iframe has finished loading, or when the Refresh button has been clicked on a Window with static content.

Example - subscribing to the refresh event

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     aiAssistantWindow: {
        actions: ["Refresh"],
        refresh: () => console.log("AI Assistant Window refresh!")
     },
   }
});
</script>
In this article
ai.aiAssistantWindow.refresh
Not finding the help you need?
Contact Support