refresh Boolean
(default: false)
Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data.
Example - show the refresh button
<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
});
$("#pager").kendoPager({
dataSource: dataSource,
refresh: true
});
dataSource.read();
</script>
<style>
#pager {
margin-top: 100px;
}
</style>