Skip to main content

Hide rows/columns in Grid layout when content is hidden/removed

  • December 4, 2025
  • 6 replies
  • 242 views

Shailesh Saravanan

Hi, it would be great if we could hide/remove rows/columns if all the content inside the row/column is hidden/deleted. That is, the grid’s dimensions get adjusted dynamically based on the content instead of being fixed always.

For example:

 

In this 3x3 grid, if I delete/hide “C”, then the second row should be deleted/hidden such that the grid looks like a 2x3 grid instead. Like this:

 

Instead, it currently looks like this:

 

The second row does not get automatically hidden/deleted since the Grid dimensions are fixed. Would be nice if we had dynamic dimensions based on the content.

 

I know that this can be achieved by creating a regular vertical auto-layout with nested grid auto-layouts but that feels more like a workaround. (That’s how I created the “how it should be” example above). I am currently working on a complex form using Grids and I am not able to dynamically show/hide fields with a Grid auto-layout. I have to now create a grid of form-fields (even if there’s only 1 element in it) and then stack them in a regular vertical auto-layout to achieve this effect.

Please add this feature in the future if possible. Prevents us from creating additional auto-layout frames.

6 replies

vao433
  • December 5, 2025

+1


Iris Hofman
  • New Member
  • December 12, 2025

It is possible to set the rows or columns as ‘hug’ but when you hide the contents it somehow turns in to ‘fill’ when it is still displayed as ‘hug’.
So the hide feature does not work on grid layout yet I suppose?


Julia57
  • Active Member
  • January 19, 2026

Yet another use case that just shows they REALLY need to fix the  behavior for hugging empty frames!!


fuller.tice
  • New Member
  • January 21, 2026

I’ve found that using a 0x0 element (frame, shape, etc) in the column/row(s) adjacent to what you want to hide can force the ‘hug’ to trigger on those 0x0 elements. Hope this helps!
 

 


Julia57
  • Active Member
  • January 22, 2026

@fuller.tice Ah yeah I was also using this hack in the other autolayout configurations! Problem is that it still registers as an object, so the gap/gutter is still there even though there’s “nothing” (so two gaps appear next to each other)


AntoinePuig
  • New Participant
  • February 6, 2026

Yes please, need this and the ability to move columns / lines