flanksource / flanksource-ui

https://flanksource-ui.vercel.app
Other
9 stars 23 forks source link

Add a settings for datatable to show and hide some columns for the user to control #1826

Open mainawycliffe opened 6 months ago

mainawycliffe commented 6 months ago

For some tables, especially on smaller screens, we might want to have some columns hidden/shown by default and then allow the user to choose which columns they want to see. This could be done with a settings modal for the table and the results would be persistent in local storage. This would allow us to include extra useful columns but not essential and hide them and the use can toggle them on or off to create the most useful view for them.

mainawycliffe commented 4 months ago

https://tanstack.com/table/v8/docs/framework/react/examples/column-visibility