smartBox.searchSettings.enabledBoolean(default: true)
Enables or disables the Search mode in the SmartBox.
Example - disable search mode
<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: false
},
semanticSearchSettings: {
enabled: true
}
}
});
</script>