Skip to content

Commit 53cbe8a

Browse files
committed
CHANGELOG
1 parent ee07efc commit 53cbe8a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<a name="v3.1.4"></a>
2+
# [v3.1.4](https://github.com/AllenFang/react-bootstrap-table/compare/v3.1.3...v3.1.4) (2017-04-01)
3+
## Bug fixes
4+
* Fix tab broke if encounter non editable or hidden cell([2f9ed93](https://github.com/AllenFang/react-bootstrap-table/commit/2f9ed933a3b7a37278817f1f2932fbed89c0ad0b))
5+
* Fix unalign issue if table become scrollable then non scrollable([af8b3c3](https://github.com/AllenFang/react-bootstrap-table/commit/af8b3c3aaa594dd1ed7639556106629bfd36106f))
6+
7+
## Enhancement
8+
* `selectRow.bgColor` now support a callback function for more flexible bgColor setting([136dec9](https://github.com/AllenFang/react-bootstrap-table/commit/136dec9313d92658748e38fd141ecd618da5d333))
9+
```js
10+
bgColor: function(row, isSelect) {
11+
if (isSelect) {
12+
const { id } = row;
13+
if (id < 2) return 'blue';
14+
else if (id < 4) return 'red';
15+
else return 'yellow';
16+
}
17+
return null;
18+
}
19+
```
20+
121
<a name="v3.1.3"></a>
222
# [v3.1.3](https://github.com/AllenFang/react-bootstrap-table/compare/v3.1.2...v3.1.3) (2017-03-30)
323
## Bug fixes

0 commit comments

Comments
 (0)