How do I set up a hide and show columns (table) component in Retool?

Hi there,

Well, you may have a workaround without necessarily having to create a custom component.

I have created a small example in this video here

In summary: you can use:

  • Split Pane frame
  • Icon button
  • Checkbox group

Something like:

  • When you click on the Icon button it shows the split pane frame
  • Your Hidden setting in each table column is mapped to check if the respective checkbox is hidden or not.
  • You can save selected preferences to local storage so that when user returns it remembers preferences.
4 Likes