react-bootstrap-table v3.1.4 Release Notes
Release Date: 2017-04-01 // about 7 years ago-
๐ Bug fixes
- ๐ Fix tab broke if encounter non editable or hidden cell(2f9ed93)
- ๐ Fix unalign issue if table become scrollable then non scrollable(af8b3c3)
โจ Enhancement
- ๐
selectRow.bgColor
now support a callback function for more flexible bgColor setting(136dec9)js bgColor: function(row, isSelect) { if (isSelect) { const { id } = row; if (id < 2) return 'blue'; else if (id < 4) return 'red'; else return 'yellow'; } return null; }