Automatic resize of component/container when other components are hidden horizontally

Hi, just wanted to ask if what I want to achieve is possible.

So in the picture above, I have a table on the left side, and when a row is selected, a sidebar container with the user details will appear. The layout is similar to this template: https://retool.com/templates/postgresql-admin-panel

I was wondering if it’s possible to have the table go the full width of its container if the sidebar is closed (when no row is selected). Any help is appreciated!

Hey there @rerwinMRE and welcome to the community! Unfortunately we don’t support automatically resizing components yet.

Thanks for the warm welcome! I understand, I was able to do hack some CSS to get it working the way I wanted to, but we decided to just scrap it in the end.

1 Like

Ah, sorry to hear that :confused:

let us know if there’s anything we can help with in the meanwhile!