Prepares the widget for safe removal from DOM. Detaches all event handlers and removes attributes to avoid memory leaks. Calls the destroy method of any child Kendo widgets.

This method does not remove the widget element from DOM.


<div id="grid"></div>
  dataSource: [
      { name: "Jane Doe", age: 30 },
      { name: "John Doe", age: 33 }
var grid = $("#grid").data("kendoGrid");
In this article
Not finding the help you need? Improve this article