ai.aiAssistantWindow.error

Triggered when an Ajax request for content fails.

Event Data

e.xhr jqXHR

The XHR request object as returned from jQuery.ajax.

e.status String

The status of the request as returned from jQuery.ajax.

Example - subscribing to the error event

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