I have a scenario, in which I have to hide some columns of react-table on a mobile screen. Note: I'm using Tanstack Table and Tailwind CSS for styling
Tanstack React-table column hidden on mobile screeen
1k views Asked by Muhammad Asif At
2
Written custom hook for checking breakpoints and passing mobileColumns and desktopColumns conditionally:
useWindowSize.tsx
//Use