Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 472f5d8

Browse files
layout and wording beautify
1 parent 48004e1 commit 472f5d8

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

‎docs/README.md‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ import paginator from 'react-bootstrap-table2-paginator';
169169

170170
```js
171171
paginator({
172+
page, // Specify the current page. It's necessary when remote is enabled
173+
sizePerPage, // Specify the size per page. It's necessary when remote is enabled
174+
totalSize, // Total data size. It's necessary when remote is enabled
172175
pageStartIndex: 0, // first page will be 0, default is 1
173176
paginationSize: 3, // the pagination bar size, default is 5
174177
sizePerPageList: [ {
@@ -195,16 +198,6 @@ paginator({
195198
})
196199
```
197200

198-
When [`remote`](#remote) was enabled, the following **3** arguments were required.
199-
200-
```js
201-
paginator({
202-
page, // Indicate the current page number.
203-
sizePerPage, // Indicate how many rows per page.
204-
totalSize, // Total size of table rows.
205-
})
206-
```
207-
208201
### <a name='onTableChange'>onTableChange - [Function]</a>
209202
This callback function will be called when [`remote`](#remote) enabled only.
210203

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /