smartBoxObject
Defines the configuration options for the SmartBox tool in the Grid. The SmartBox provides a unified interface for search, semantic search, and AI assistant capabilities.
Example - enable SmartBox with basic configuration
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "ProductName" },
{ field: "UnitPrice" },
{ field: "UnitsInStock" }
],
dataSource: {
transport: {
read: {
url: "https://demos.telerik.com/service/v2/core/products"
}
},
pageSize: 10
},
search: {
fields: [{ name: "ProductName", operator: "contains" }]
},
toolbar: ["smartBox"],
smartBox: {
activeMode: "Search",
placeholder: "Search or ask AI...",
searchSettings: {
enabled: true
}
}
});
</script>