material-react-table 1.3.15 → 1.3.16
Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js
CHANGED
@@ -808,7 +808,7 @@ const MRT_ShowHideColumnsMenuItems = ({ allColumns, hoveredColumn, setHoveredCol
|
|
808
808
|
};
|
809
809
|
|
810
810
|
const MRT_ShowHideColumnsMenu = ({ anchorEl, isSubMenu, setAnchorEl, table, }) => {
|
811
|
-
const { getAllColumns, getAllLeafColumns, getCenterLeafColumns, getIsAllColumnsVisible, getIsSomeColumnsPinned, getIsSomeColumnsVisible, getLeftLeafColumns, getRightLeafColumns, getState, toggleAllColumnsVisible, options: {
|
811
|
+
const { getAllColumns, getAllLeafColumns, getCenterLeafColumns, getIsAllColumnsVisible, getIsSomeColumnsPinned, getIsSomeColumnsVisible, getLeftLeafColumns, getRightLeafColumns, getState, toggleAllColumnsVisible, options: { enableColumnOrdering, enableHiding, enablePinning, localization, columns, }, } = table;
|
812
812
|
const { density, columnOrder, columnPinning } = getState();
|
813
813
|
const hideAllColumns = () => {
|
814
814
|
getAllLeafColumns()
|
@@ -827,6 +827,7 @@ const MRT_ShowHideColumnsMenu = ({ anchorEl, isSubMenu, setAnchorEl, table, }) =
|
|
827
827
|
}
|
828
828
|
return columns;
|
829
829
|
}, [
|
830
|
+
columns,
|
830
831
|
columnOrder,
|
831
832
|
columnPinning,
|
832
833
|
getAllColumns(),
|