We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89a8b85 + 6f0b5fb commit 5fbae9dCopy full SHA for 5fbae9d
src/BootstrapTable.js
@@ -240,6 +240,14 @@ class BootstrapTable extends Component {
240
});
241
}
242
243
+ // If setting the expanded rows is being handled externally
244
+ // then overwrite the current expanded rows.
245
+ if (this.props.options.expanding !== options.expanding) {
246
+ this.setState({
247
+ expanding: options.expanding || []
248
+ });
249
+ }
250
+
251
if (selectRow && selectRow.selected) {
252
// set default select rows to store.
253
const copy = selectRow.selected.slice();
0 commit comments