mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
fix docs
This commit is contained in:
parent
d43c622fdb
commit
fb54809dc9
@ -202,6 +202,7 @@ paginator({
|
||||
totalSize, // Total data size. It's necessary when remote is enabled
|
||||
pageStartIndex: 0, // first page will be 0, default is 1
|
||||
paginationSize: 3, // the pagination bar size, default is 5
|
||||
showTotal: true, // display pagination information
|
||||
sizePerPageList: [ {
|
||||
text: '5', value: 5
|
||||
}, {
|
||||
@ -223,6 +224,7 @@ paginator({
|
||||
hidePageListOnlyOnePage: true, // hide pagination bar when only one page, default is false
|
||||
onPageChange: (page, sizePerPage) => {}, // callback function when page was changing
|
||||
onSizePerPageChange: (sizePerPage, page) => {}, // callback function when page size was changing
|
||||
paginationTotalRenderer: (from, to, size) => { ... } // custom the pagination total
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user