(core) Remove bool filtered rows immediately on change (#517)

* (core) Remove bool filtered rows immediately on change
pull/520/head
wunter8 1 year ago committed by GitHub
parent 62b8f54672
commit e7933d7c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -578,9 +578,10 @@ BaseView.prototype._saveEditRowField = function(editRowModel, colName, value) {
mainRowModel[colName](value);
}
const ret = DataRowModel.prototype._saveField.call(editRowModel, colName, value)
// Display this rowId, even if it doesn't match the filter
// Display this rowId, even if it doesn't match the filter,
// unless the filter is on a Bool column
.then((result) => {
if (!this.isDisposed()) {
if (!this.isDisposed() && this.currentColumn().pureType() !== 'Bool') {
this._sectionFilter.addTemporaryRow(rowId);
}
return result;

Loading…
Cancel
Save