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

Important: This method does not remove the ScrollView element from DOM.


<div data-role="view">
  <div id="scrollView" data-role="scrollview">
    <div data-role="page">Foo</div>
    <div data-role="page">Bar</div>

var app = new;

function destroyScrollView() {
  var scrollview = $("#scrollView").data("kendoMobileScrollView");
In this article
Not finding the help you need? Improve this article