AllenFang / AllenFang/react-bootstrap-table

Pagination - Custom Page Numbers

未關閉
#1,837 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
2.2k
分支
761
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。