autoBind Boolean
(default: true)
Indicates whether the pager refresh method will be called within its initialization.
Example - disable reading the state of the DataSource instance during initialization
<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: 25
});
dataSource.read();
$("#pager").kendoPager({
autoBind: false,
dataSource: dataSource
});
</script>
<style>
#pager{
margin-top: 100px;
}
</style>