Skip to content

Commit

Permalink
fix #244
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jan 28, 2016
1 parent 865c6a8 commit f5978f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@ class BootstrapTable extends React.Component {
}
}

cleanSelected() {
this.store.setSelectedRowKey([]);
this.setState({
selectedRowKeys: []
});
}

handleSort(order, sortField) {
if (this.props.options.onSortChange) {
this.props.options.onSortChange(sortField, order, this.props);
Expand Down

0 comments on commit f5978f9

Please sign in to comment.