@@ -454,7 +454,7 @@ class BootstrapTable extends Component {
454454 const { toolbarPosition = Const . TOOLBAR_POS_TOP } = this . props . options ;
455455 const showToolbarOnTop = toolbarPosition !== Const . TOOLBAR_POS_BOTTOM ;
456456 const showToolbarOnBottom = toolbarPosition !== Const . TOOLBAR_POS_TOP ;
457-
457+ const { hideRowOnExpand = false } = this . props . options ;
458458 return (
459459 < div className = { classSet ( 'react-bs-table-container' , this . props . className , this . props . containerClass ) }
460460 style = { this . props . containerStyle } >
@@ -534,6 +534,7 @@ class BootstrapTable extends Component {
534534 x = { this . state . x }
535535 y = { this . state . y }
536536 withoutTabIndex = { this . props . withoutTabIndex }
537+ hideRowOnExpand = { hideRowOnExpand }
537538 onEditCell = { this . handleEditCell } />
538539 {
539540 tableFooter
@@ -1737,7 +1738,8 @@ BootstrapTable.propTypes = {
17371738 printToolBar : PropTypes . bool ,
17381739 insertFailIndicator : PropTypes . string ,
17391740 noAutoBOM : PropTypes . bool ,
1740- expandAll : PropTypes . bool
1741+ expandAll : PropTypes . bool ,
1742+ hideRowOnExpand : PropTypes . bool
17411743 } ) ,
17421744 fetchInfo : PropTypes . shape ( {
17431745 dataTotalSize : PropTypes . number
@@ -1908,7 +1910,8 @@ BootstrapTable.defaultProps = {
19081910 printToolBar : true ,
19091911 insertFailIndicator : Const . INSERT_FAIL_INDICATOR ,
19101912 noAutoBOM : true ,
1911- expandAll : false
1913+ expandAll : false ,
1914+ hideRowOnExpand : false
19121915 } ,
19131916 fetchInfo : {
19141917 dataTotalSize : 0
0 commit comments