Datatable pagination Template

UI Components for JSF
Post Reply
BipinK
Posts: 5
Joined: 12 Jun 2019, 12:05

12 Jun 2019, 13:05

Hi everyone,

is it possible to provide a custom pagination template in primefaces datatable?
For e.g
1. I want to display like Gmail pagination. 1-50 of 700
2. I want to customized pagination template in primefaces dataTable like {firstRows - pageRows} of {totalRows}

Please help me to solve out this issue.
Thanks

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

12 Jun 2019, 17:09

Yep use this as the template...

Code: Select all

{startRecord}-{endRecord} of {totalRecords}
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

BipinK
Posts: 5
Joined: 12 Jun 2019, 12:05

13 Jun 2019, 07:22

Melloware wrote:
12 Jun 2019, 17:09
Yep use this as the template...

Code: Select all

{startRecord}-{endRecord} of {totalRecords}
Thank you so much

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 39 guests