@@ -16,7 +16,7 @@ class TableBody extends Component {
1616 }
1717
1818 render ( ) {
19- const { cellEdit, beforeShowError, x, y, keyBoardNav } = this . props ;
19+ const { cellEdit, beforeShowError, x, y, keyBoardNav, trStyle } = this . props ;
2020 const tableClasses = classSet ( 'table' , {
2121 'table-striped' : this . props . striped ,
2222 'table-bordered' : this . props . bordered ,
@@ -168,7 +168,8 @@ class TableBody extends Component {
168168 onRowMouseOut = { this . handleRowMouseOut }
169169 onSelectRow = { this . handleSelectRow }
170170 onExpandRow = { this . handleClickCell }
171- unselectableRow = { disable } >
171+ unselectableRow = { disable }
172+ style = { trStyle } >
172173 { this . props . expandColumnOptions . expandColumnVisible &&
173174 this . props . expandColumnOptions . expandColumnBeforeSelectColumn &&
174175 expandedRowColumn }
@@ -204,7 +205,7 @@ class TableBody extends Component {
204205 + ( ( isSelectRowDefined && ! this . props . selectRow . hideSelectColumn ) ? 1 : 0 )
205206 + ( this . props . expandColumnOptions . expandColumnVisible ? 1 : 0 ) ;
206207 tableRows = [
207- < TableRow key = '##table-empty##' >
208+ < TableRow key = '##table-empty##' style = { trStyle } >
208209 < td data-toggle = 'collapse'
209210 colSpan = { colSpan }
210211 className = 'react-bs-table-no-data' >
0 commit comments