I have a table and a map component horizontally next to each other.
When I hide the map component, I would like the table to expand completely horizontally.
It doesn't make a difference, if the components are inside a container or not.
Both have "Maintain space when hidden" in the appearance settings deactivated.
I also tried creating new components but it also doesn't make a difference.
Check Flexbox or Grid Layout: Ensure that the parent container of both components uses a CSS flexbox or grid layout. For a flexbox, use display: flex on the container, and set flex-grow: 1 on the table to allow it to expand when the map is hidden.
Responsive Behavior: If you're using a responsive framework or library, ensure that the table is set to occupy the available space. For instance, in CSS, you might use width: 100% or similar settings.
Re-render or Refresh: Sometimes UI components may need to be re-rendered or refreshed to adapt to the new layout. Check if there is an option to refresh the layout after hiding the map.