smartBox.semanticSearchSettings.placeholderString
The placeholder of the input in Semantic Search mode.
Example - set semantic search placeholder
<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: {
activeMode: "SemanticSearch",
semanticSearchSettings: {
enabled: true,
placeholder: "Describe what you're looking for..."
}
}
});
</script>