input Boolean
(default: false)
Defines if an input element which allows the user to navigate to given page will be displayed.
Example - show the navigate-to-page input
<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,
input: true,
numeric: false
});
dataSource.read();
</script>
<style>
#pager {
margin-top: 100px;
}
</style>