How to turn off just paginator but still show paginatorLeft and Right

UI Components for React
Post Reply
travelbug42
Posts: 7
Joined: 23 Jun 2018, 00:41

23 Jun 2018, 01:04

Paginator prop controls the visibility of paginatorLeft and paginatorRight. Is there a way to turn off the middle paginator controls and display just the right and left paginator?

I like how you can make use of the footer to include pagination and other non-related pagination like Refresh and Upload buttons. It would be nice if they can each have their own visibility control. If I wanted to hide paginatorLeft and right, I can just set them to null or not include them as props but I can't do the same for the middle controls.

Any help would be much appreciated.

travelbug42
Posts: 7
Joined: 23 Jun 2018, 00:41

26 Jun 2018, 02:44

I found a workaround for it already. I basically created a custom footer div with the same css style as the paginator. If paginator is set to false, show the custom footer.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests