@tanstack/react-table 8.8.4 → 8.8.5
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.
|
@@ -545,6 +545,8 @@
|
|
|
545
545
|
|
|
546
546
|
//
|
|
547
547
|
|
|
548
|
+
//
|
|
549
|
+
|
|
548
550
|
const defaultColumnSizing = {
|
|
549
551
|
size: 150,
|
|
550
552
|
minSize: 20,
|
|
@@ -851,7 +853,7 @@
|
|
|
851
853
|
table.setExpanded(defaultState ? {} : (_table$initialState$e = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.expanded) != null ? _table$initialState$e : {});
|
|
852
854
|
},
|
|
853
855
|
getCanSomeRowsExpand: () => {
|
|
854
|
-
return table.
|
|
856
|
+
return table.getPrePaginationRowModel().flatRows.some(row => row.getCanExpand());
|
|
855
857
|
},
|
|
856
858
|
getToggleAllRowsExpandedHandler: () => {
|
|
857
859
|
return e => {
|
|
@@ -2977,7 +2979,6 @@
|
|
|
2977
2979
|
// helper.accessor('nested.bar', {
|
|
2978
2980
|
// cell: info => info.getValue(),
|
|
2979
2981
|
// })
|
|
2980
|
-
|
|
2981
2982
|
function createColumnHelper() {
|
|
2982
2983
|
return {
|
|
2983
2984
|
accessor: (accessor, column) => {
|