smartBox.historyBoolean|Object(default: false)
Sets the settings for the history queries of all modes. When set to true, enables history with default settings. Can be set to an object to customize the history behavior.
Example - enable history
<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: {
history: true
}
});
</script>