previousNext Boolean
(default: true)
Defines if buttons for navigating to the first, last, previous and next pages will be shown.
Example - hide the first, last, previous and next buttons
<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,
previousNext: false
});
dataSource.read();
</script>
<style>
#pager {
margin-top: 100px;
}
</style>