@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.
@@ -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
- selectedRowIds[id] = true;
2264
+ if (row.getCanSelect()) {
2265
+ selectedRowIds[id] = true;
2266
+ }
2261
2267
  } else {
2262
2268
  delete selectedRowIds[id];
2263
2269
  } // }