File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ import paginator from 'react-bootstrap-table2-paginator';
169169
170170``` js
171171paginator ({
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 >
209202This callback function will be called when [ ` remote ` ] ( #remote ) enabled only.
210203
You can’t perform that action at this time.
0 commit comments