How to Show/Hide Rows in a Grid Layout Dynamically?
Hi everyone,
I’m working with the Grid Layout in Vuforia Studio and I’m trying to dynamically show or hide specific rows.
The problem I’m facing:
-
I cannot dynamically change the row or column class.
-
I also cannot set their height/size to 0px at runtime.
-
Simply hiding the widget inside the cell doesn’t help, because the row and column space remains visible.
My goal is simple:
I want all rows to exist in the layout, but I want to toggle their visibility (visible/invisible) without leaving empty space.
Is there any workaround or method to:
-
hide a full row in a Grid Layout?
-
collapse its height (similar to CSS
display: none)? -
or dynamically modify grid definitions at runtime?
Any suggestions or best practices would be greatly appreciated.
Thank you!

