AllenFang / AllenFang/react-bootstrap-table

Pagination - Custom Page Numbers

Open
#1,837 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

I am trying to customize the page numbers that get displayed as part of pagination.

By default we have these numbers,

![image](https://user-images.githubusercontent.com/32419507/34593180-1633aeae-f17e-11e7-9499-8de5937d6a85.png)

I am trying to see if I can change the numbers in the un-ordered list to say "Page 1 of 5" or "Page 1 of 10". I tried intercepting the pageList from the paginationPanel and changing the title. Later I realized that these are props and so cannot be changed...(i'm sorry i even tried doing this :()

![image](https://user-images.githubusercontent.com/32419507/34593318-057bd482-f17f-11e7-8de5-24a1dd82b1b1.png)

Is it possible to change the title later in the game?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.