Edit this page

destroy

Finds all Kendo widgets that are children of the specified element and calls their destroy method.

Example

<input id="autocomplete">
<script>
$("#autocomplete").kendoAutoComplete();
  console.log($("#autocomplete").data("kendoAutoComplete") != null); // outputs "true"
  kendo.destroy(document.body);
  console.log($("#autocomplete").data("kendoAutoComplete") != null); // outputs "false"
</script>

Parameters

element String |jQuery |Element
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy