jQuery Grid Pager Functionality

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
pager-functionality.php
DataSourceResult.php

Also available for:

API REFERENCE

Description

The Kendo UI for jQuery Grid enables you to condtionally hide the Pager by setting the alwaysVisible property to false.

If the value is set to false, the behavior of the Grid and the pager will be as follow:

  • When the total number of items that is initially set in the DataSource is less than the pageSize number, the pager will be hidden.
  • When the total number of items that is initially set in the DataSource is greater than or equal to the pageSize number, the pager will be shown.
  • When the total number of items in the DataSource becomes less than the pageSize number after a delete or filter operation, or pageSize change, the pager will be hidden.
  • When the total number of items in the DataSource becomes greater than or equal to the pageSize number after an insert or filter operation, or pageSize change, the pager will be shown.

This demo showcases how you can toggle the alwaysVisible functionality with the help of a checkbox and how you can set the position of the Pager with the help of the position property.

This Grid example is part of a unique collection of hundreds of jQuery demos, with which you can see all Kendo UI for jQuery components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Kendo UI for jQuery Dojo or ThemeBuilder.

Support & Learning Resources

Additional Resources