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

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.

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.

View File

@ -0,0 +1,27 @@
---
title: New Release (2018-08-12)
author: Allen Fang
authorURL: https://twitter.com/allenfang_tw
---
## Changed Packages
This release bump following packages:
* `react-bootstrap-table-next@1.1.0`
* `react-bootstrap-table2-toolkit@1.0.1`
* `react-bootstrap-table2-paginator@1.0.1`
## Changelog
### Bug fixes
* Fixed column.style and column.align will conflicts([#481](https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/471))
* Fixed search will be clear if search the same text twice([#470](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/470))
* Fixed debounce bug([#468](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/468))
* Fixed `pagination.paginationTotalRenderer` give wrong `from` and `to` argument([#467](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/467))
### Features
* Export CSV allow to export current display data instead of whole list([#469](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/469))
### Enhancements
* Performance improvment on cell level([#449](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/449))