mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-12 04:00:16 +00:00
fix #1061
This commit is contained in:
@@ -91,6 +91,13 @@ const withContext = Base =>
|
||||
this.PaginationContext = nextProps.pagination.createContext(
|
||||
this.isRemotePagination, this.handleRemotePageChange);
|
||||
}
|
||||
if (!nextProps.cellEdit && this.props.cellEdit) {
|
||||
this.CellEditContext = null;
|
||||
}
|
||||
if (nextProps.cellEdit && !this.props.cellEdit) {
|
||||
this.CellEditContext = nextProps.cellEdit.createContext(
|
||||
_, dataOperator, this.isRemoteCellEdit, this.handleRemoteCellChange);
|
||||
}
|
||||
}
|
||||
|
||||
renderBase() {
|
||||
|
||||
Reference in New Issue
Block a user