Merge pull request #161 from JulioJair/feature/rowmanager/check-all-filtered

This commit is contained in:
Shariq Ansari 2023-01-25 17:13:03 +05:30 committed by GitHub
commit f990c1ff87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,13 @@ export default class RowManager {
// update internal map
if (toggle) {
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 = [];
}