Spacing of conditional columns

I am displaying field values in columns within items in a collection. If I make one of the columns conditional, is there a way to make the the other columns use up the remaining space when it gets hidden?

Essentially I’m trying to achieve a grid with conditional columns, but I’m using a collection instead of a grid so that I can add conditionality.

You could bind the width or the flex-basis of the second column, and if the first one is hidden, then have a formula use a wider width or flex-basis.