mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
layout and wording beautify
This commit is contained in:
parent
48004e1cb5
commit
472f5d887c
@ -169,6 +169,9 @@ import paginator from 'react-bootstrap-table2-paginator';
|
||||
|
||||
```js
|
||||
paginator({
|
||||
page, // Specify the current page. It's necessary when remote is enabled
|
||||
sizePerPage, // Specify the size per page. It's necessary when remote is enabled
|
||||
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
|
||||
sizePerPageList: [ {
|
||||
@ -195,16 +198,6 @@ paginator({
|
||||
})
|
||||
```
|
||||
|
||||
When [`remote`](#remote) was enabled, the following **3** arguments were required.
|
||||
|
||||
```js
|
||||
paginator({
|
||||
page, // Indicate the current page number.
|
||||
sizePerPage, // Indicate how many rows per page.
|
||||
totalSize, // Total size of table rows.
|
||||
})
|
||||
```
|
||||
|
||||
### <a name='onTableChange'>onTableChange - [Function]</a>
|
||||
This callback function will be called when [`remote`](#remote) enabled only.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user