smartBox.searchSettingsObject
Configures the initial settings for the Search mode.
Example - configure search settings
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "ProductName" },
{ field: "UnitPrice" }
],
dataSource: {
data: [
{ ProductName: "Tea", UnitPrice: 10 },
{ ProductName: "Coffee", UnitPrice: 15 }
]
},
search: {
fields: [{ name: "ProductName", operator: "contains" }]
},
toolbar: ["smartBox"],
smartBox: {
searchSettings: {
enabled: true,
placeholder: "Search products...",
delay: 500
}
}
});
</script>