smartBox.close

Fired when the SmartBox popup closes.

Example - handle SmartBox close event

<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: {
    close: function(e) {
      console.log("SmartBox popup closed");
    }
  }
});
</script>
In this article
smartBox.close
Not finding the help you need?
Contact Support