Skip to content

Commit f5978f9

Browse files
committed
fix #244
1 parent 865c6a8 commit f5978f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/BootstrapTable.js

+7
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,13 @@ class BootstrapTable extends React.Component {
249249
}
250250
}
251251

252+
cleanSelected() {
253+
this.store.setSelectedRowKey([]);
254+
this.setState({
255+
selectedRowKeys: []
256+
});
257+
}
258+
252259
handleSort(order, sortField) {
253260
if (this.props.options.onSortChange) {
254261
this.props.options.onSortChange(sortField, order, this.props);

0 commit comments

Comments
 (0)