@@ -17,7 +17,7 @@ class TableBody extends Component {
17
17
}
18
18
19
19
render ( ) {
20
- const { cellEdit, beforeShowError, x, y, keyBoardNav, trStyle } = this . props ;
20
+ const { cellEdit, beforeShowError, x, y, keyBoardNav, trStyle, version } = this . props ;
21
21
const tableClasses = classSet ( 'table' , {
22
22
'table-striped' : this . props . striped ,
23
23
'table-bordered' : this . props . bordered ,
@@ -29,7 +29,7 @@ class TableBody extends Component {
29
29
const unselectable = this . props . selectRow . unselectable || [ ] ;
30
30
const isSelectRowDefined = this . _isSelectRowDefined ( ) ;
31
31
const tableHeader = Utils . renderColGroup ( this . props . columns ,
32
- this . props . selectRow , this . props . expandColumnOptions ) ;
32
+ this . props . selectRow , this . props . expandColumnOptions , version ) ;
33
33
const inputType = this . props . selectRow . mode === Const . ROW_SELECT_SINGLE ? 'radio' : 'checkbox' ;
34
34
const CustomComponent = this . props . selectRow . customComponent ;
35
35
const enableKeyBoardNav = ( keyBoardNav === true || typeof keyBoardNav === 'object' ) ;
@@ -144,7 +144,7 @@ class TableBody extends Component {
144
144
const expandedRowColumn = this . renderExpandRowColumn (
145
145
this . props . expandableRow && this . props . expandableRow ( data ) ,
146
146
this . props . expanding . indexOf ( key ) > - 1 ,
147
- ExpandColumnCustomComponent , r , data
147
+ ExpandColumnCustomComponent , r
148
148
) ;
149
149
const haveExpandContent = this . props . expandableRow && this . props . expandableRow ( data ) ;
150
150
const isExpanding = haveExpandContent && this . props . expanding . indexOf ( key ) > - 1 ;
@@ -501,6 +501,7 @@ class TableBody extends Component {
501
501
}
502
502
}
503
503
TableBody . propTypes = {
504
+ version : PropTypes . string ,
504
505
data : PropTypes . array ,
505
506
columns : PropTypes . array ,
506
507
striped : PropTypes . bool ,
0 commit comments