Merge pull request #161 from JulioJair/feature/rowmanager/check-all-filtered
This commit is contained in:
commit
f990c1ff87
@ -113,7 +113,13 @@ export default class RowManager {
|
||||
|
||||
// update internal map
|
||||
if (toggle) {
|
||||
this.checkMap = Array.from(Array(this.getTotalRows())).map(c => value);
|
||||
if (this.datamanager._filteredRows) {
|
||||
this.datamanager._filteredRows.forEach(f => {
|
||||
this.checkRow(f, toggle);
|
||||
});
|
||||
} else {
|
||||
this.checkMap = Array.from(Array(this.getTotalRows())).map(c => value);
|
||||
}
|
||||
} else {
|
||||
this.checkMap = [];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user