I'm kind of new to React and Web development in general .
I have a scenario , to create a table in react , and create a box that would enable to show/hide the columns with it , and along with it a select all checkbox that would show or hide all columns except a "NAME_ID" column .
I am able to achieve the earlier part with with useTable() hook and column.getToggleHiddenProps() method from destructured call of hook .
But I'm not able to achieve the second part , I do know that we have getToggleHideAllColumnsProps() but that won't allow me to except the required NAME_ID column .
Any help or suggestions would be great !!.