PrimeFaces 3.2 DataTable Go To Page Transition Template?

According to the official documentation of PrimeFaces 3.2, a paginator template can be a combination of the following predefined template templates:

  • {FirstPageLink}
  • {LastPageLink}
  • {PreviousPageLink}
  • {NextPageLink}
  • {PageLinks}
  • {CurrentPageReport}
  • {RowsPerPageDropDown}

This is great for small datasets, but it is extremely difficult to navigate pages if the dataset is huge: imagine that you have several thousand (or even more) pages, you are at the very beginning, page number 1, and you want to go straight to page No. 813, and then to No. 499). So:

  • Is there a way to improve the existing templates installed for paginator in PrimeFaces 3.2 DataTable, for example. adding a custom template?
  • If not, ... is there a way (I assume this is a potential hack) that affects data table navigation, as in the scenario described above?

Your help will be greatly appreciated. Thanks in advance.

+7
source share
1 answer

There is a paginator {JumpToPageDropdown} option that you can use to select a page from the drop-down list. I do not think this is documented.

+11
source

All Articles