@@ -72,6 +72,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
72
72
} ) ;
73
73
74
74
const tableCaption = ( caption && < Caption > { caption } </ Caption > ) ;
75
+ const expandRow = this . resolveExpandRowProps ( ) ;
75
76
76
77
return (
77
78
< div className = { tableWrapperClass } >
@@ -85,6 +86,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
85
86
onFilter = { this . props . onFilter }
86
87
onExternalFilter = { this . props . onExternalFilter }
87
88
selectRow = { headerCellSelectionInfo }
89
+ expandRow = { expandRow }
88
90
/>
89
91
< Body
90
92
data = { data }
@@ -96,7 +98,7 @@ class BootstrapTable extends PropsBaseResolver(Component) {
96
98
cellEdit = { this . props . cellEdit || { } }
97
99
selectRow = { cellSelectionInfo }
98
100
selectedRowKeys = { selected }
99
- expandRow = { this . resolveExpandRowProps ( ) }
101
+ expandRow = { expandRow }
100
102
rowStyle = { rowStyle }
101
103
rowClasses = { rowClasses }
102
104
rowEvents = { rowEvents }
@@ -150,9 +152,12 @@ BootstrapTable.propTypes = {
150
152
expanded : PropTypes . array ,
151
153
nonExpandable : PropTypes . array ,
152
154
showExpandColumn : PropTypes . bool ,
153
- expandColumnRenderer : PropTypes . func
155
+ expandColumnRenderer : PropTypes . func ,
156
+ expandHeaderColumnRenderer : PropTypes . func
154
157
} ) ,
155
158
onRowExpand : PropTypes . func ,
159
+ onAllRowExpand : PropTypes . func ,
160
+ isAnyExpands : PropTypes . func ,
156
161
rowStyle : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . func ] ) ,
157
162
rowEvents : PropTypes . object ,
158
163
rowClasses : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . func ] ) ,
0 commit comments