mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-16 21:50:17 +00:00
20180812 release
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user