ai.aiAssistantWindow.content.dataTypeString
The type of result expected from the remote service. Used values are "html" and "json".
Example - fetching and displaying JSON content it in the Window
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [{ field: "name" }],
dataSource: [{ name: "Jane Doe" }],
toolbar: ["aiAssistant"],
ai: {
aiAssistantWindow: {
content: {
url: "https://demos.telerik.com/kendo-ui/content/shared/js/products.js",
dataType: "json"
}
}
}
});
</script>
In this article