This commit is contained in:
Allen
2018-04-01 14:14:32 +08:00
committed by GitHub
parent 11d4f40089
commit 88e1a0774b
9 changed files with 91 additions and 8 deletions
+4
View File
@@ -23,6 +23,7 @@
* [rowClasses](#rowClasses)
* [rowEvents](#rowEvents)
* [defaultSorted](#defaultSorted)
* [defaultSortDirection](#defaultSortDirection)
* [pagination](#pagination)
* [filter](#filter)
* [onTableChange](#onTableChange)
@@ -168,6 +169,9 @@ const defaultSorted = [{
}];
```
### <a name='defaultSortDirection'>defaultSortDirection - [String]</a>
Default sort direction when user click on header column at first time, available value is `asc` and `desc`. Default is `desc`.
### <a name='pagination'>pagination - [Object]</a>
`pagination` allow user to render a pagination panel on the bottom of table. But pagination functionality is separated from core of `react-bootstrap-table2` so that you are suppose to install `react-bootstrap-table2-paginator` additionally.