@tanstack/table-core 8.2.2 → 8.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/features/RowSelection.js +7 -1
- package/build/cjs/features/RowSelection.js.map +1 -1
- package/build/esm/index.js +7 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +301 -301
- package/build/umd/index.development.js +7 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/features/RowSelection.ts +6 -1
|
@@ -1983,6 +1983,10 @@
|
|
|
1983
1983
|
|
|
1984
1984
|
if (value) {
|
|
1985
1985
|
preGroupedFlatRows.forEach(row => {
|
|
1986
|
+
if (!row.getCanSelect()) {
|
|
1987
|
+
return;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1986
1990
|
rowSelection[row.id] = true;
|
|
1987
1991
|
});
|
|
1988
1992
|
} else {
|
|
@@ -2257,7 +2261,9 @@
|
|
|
2257
2261
|
Object.keys(selectedRowIds).forEach(key => delete selectedRowIds[key]);
|
|
2258
2262
|
}
|
|
2259
2263
|
|
|
2260
|
-
|
|
2264
|
+
if (row.getCanSelect()) {
|
|
2265
|
+
selectedRowIds[id] = true;
|
|
2266
|
+
}
|
|
2261
2267
|
} else {
|
|
2262
2268
|
delete selectedRowIds[id];
|
|
2263
2269
|
} // }
|