Pagination: when I set the options, the first page and last page button disappear
See original GitHub issueHow to make them work as normal? Is there an option?
render: function() {
const options = {
pageStartIndex: 1,
sizePerPage: 20,
prePage: '上一页',
nextPage: '下一页',
firstPage: '首页',
lastPage: '末页',
paginationShowsTotal: this.renderShowsTotal,
hideSizePerPage: true,
paginationSize: 6
};
return (
<BootstrapTable data={this.props.data} ref='table' pagination options={options} striped hover>
{this.props.children}
</BootstrapTable>
);
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to fix Pagination Error 'Buttons only showing up on the ...
I am trying to paginate a list of student elements into different pages. The buttons are only appending to the first page and...
Read more >Pagination: what do you need the “last page” button for?
Given a list of URLs for articles, download the first page of each. · In each loaded page, look for a link to...
Read more >Control pagination - Microsoft Support
On the Format menu, click Paragraph, and then click the Line and Page Breaks tab. Select the Page break before check box. Control...
Read more >Pagination controls for first page and last page - Toolset
Problem: I would like to add first page / last page links in my pagination controls. Solution: There is a First / Last...
Read more >Set pagination and line and page breaks in Pages on Mac
You can use formatting to control how text flows on the page. Line break: Use a line break, also called a soft return,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
really appreciate it 👍
@caesarjuly, you assign a unknow sizePerPage as 20, but there no 20 in sizePerPage list default. The sizePerPage list default value is [ 10, 25, 30, 50 ], but you can custom it by
sizePerPageList
.Anyway, I’ll find some solution to improve this condition