destroy
Unbinds all callbacks created within pager initialization. This method doesn't remove pager element from DOM.
This method does not remove the widget element from DOM.
Example - destroy pager
<div id="pager"></div>
<script>
var dataSource = new kendo.data.DataSource({
data: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" },
{ productName: "Ham", category: "Food" },
{ productName: "Bread", category: "Food" }
],
pageSize: 2
});
dataSource.read();
var pager = $("#pager").kendoPager({
dataSource: dataSource
}).data("kendoPager");
pager.destroy();
</script>
<style>
#pager {
margin-top: 100px;
}
</style>