20180812 release

This commit is contained in:
AllenFang
2018-08-12 14:24:42 +08:00
parent 8b8a5e35e1
commit 33e29eb05e
3 changed files with 36 additions and 1 deletions
+4
View File
@@ -81,6 +81,10 @@ dataField: 'address.city'
* `rowIndex`
* [`formatExtraData`](#columnformatextradata-any)
> Attention:
> Don't use any state data or any external data in formatter function, please pass them via [`formatExtraData`](#formatExtraData).
> In addition, please make formatter function as pure function as possible as you can.
## column.headerFormatter - [Function]
`headerFormatter` allow you to customize the header column and only accept a callback function which take three arguments and a JSX/String are expected for return.
+5 -1
View File
@@ -13,6 +13,7 @@ Export CSV in one of features supported by `react-bootstrap-table2-toolkit`. By
* [separator](#exportCSVseparator-string)
* [ignoreHeader](#exportCSVignoreheader-bool)
* [noAutoBOM](#exportCSVnoautobom-bool)
* [exportAll](#exportCSVexportall-bool)
## Example
@@ -44,4 +45,7 @@ Custom the csv file separator.
Default is `false`. Give true to avoid to attach the csv header.
## exportCSV.noAutoBOM - [bool]
Default is `true`.
Default is `true`.
## exportCSV.exportAll - [bool]
Default is `true`. `false` will only export current display data on table.