Advanced Pagination Settings

Customize the pagination settings of the table.

The basic version of TablePress offers a helpful pagination feature. When this is enabled, the visitor can easier navigate in long tables with many rows. They will only see a few rows at a time and can then go to the next set of rows on the next table page, with arrow and number buttons.

Feature description

For many sites, a different type of pagination controls might be more suitable. The “Advanced Pagination Settings” features offers that. Below, you can find different possibilities. Note the highlighted pagination controls for each example table:

The “Advanced Pagination Settings” allow turning on “First” page and “Last” page buttons, so that the visitor can reach the start or end of a table quickly. See this example:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40

It is also possible to replace the number buttons with an input field, which even supports the up and down keys on the keyboard, like in this example table:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40

And for tables that take up more vertical space than the height of the screen, the “Scroll To Top” feature comes in handy: With this, when a site visitor uses the pagination controls, usually below the table, they will automatically be scrolled up to the top of the table. To try this, scroll down and use the pagination controls in this example table:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40
Kim1986ChileBadminton12:5085.7%$3.47
Jackson1998AustraliaBaseball06:0966.7%$6.85
Cade1986IndiaBadminton19:4342.4%$3.22
Keaton2003Costa RicaBasketball10:3140.0%$5.88
Ray1999FranceGymnastics18:0859.5%$1.10
Omar1984BrazilTennis02:5054.2%$2.30
Maite1986NorwayWrestling15:0929.5%$3.91
Jeremy1987United StatesFencing16:3681.4%$8.26
Libby1989AustriaSwimming21:1933.8%$4.71
Kermit1994UkraineVolleyball12:3963.6%$8.54
Madison1988United StatesBoxing13:3726.7%$7.09
Francis1993ChileVolleyball21:0287.5%$6.29

Usage instructions

To use these features with your tables, activate the “Advanced Pagination Settings” feature module on the “Modules” screen of TablePress Pro or TablePress Max. Then, configure the desired options in the “Advanced Pagination Settings” section on the table’s “Edit” screen.

Configuration parameters

To configure this module’s features, you can also use these configuration parameters in the “TablePress Table” block or in the Shortcode that you are using to embed the table:

ModuleSlugConfiguration parameterNameDescriptionTypeDefault value
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_firstlastboolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_previousnextboolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_numbersboolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_inputboolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_input_pageofboolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_buttonsinteger7
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_boundarynumbersboolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_scrolltotopboolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_scrolltotop_offsetinteger10