buttonCount Number
(default: 10)
Defines the number of buttons displayed in the numeric pager.
Example - set button count
<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,
buttonCount: 1
});
dataSource.read();
</script>
<style>
#pager {
}
</style>