smartBox.semanticSearchSettings.history.sizeNumber(default: 5)

Specifies the maximum number of history queries that will be rendered in Semantic Search mode.

Example - set semantic search history size

<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,
      history: {
        size: 10
      }
    }
  }
});
</script>