Select to view content in your preferred language

Not Allowing Multiple Column Widths Passed in a Group

153
2
03-26-2025 12:56 PM
JustinH
Frequent Contributor

I am trying to have a Repeat with the first question being a full width (w1) and all else being 2 column widths (w2). It seems pretty straight forward in Ismaels Post but it is not working. I wonder if there is a bug. 

Important: I have tried these configurations in both a group and a repeat and I get the same result. Also, my survey setting is set to "fixed-grid"

Attempt 1: 

 

JustinH_0-1743018411118.png

JustinH_1-1743018437012.png

Very close but the "Forbs" and "Other" column snap back to full width. Why is that? 

 

Attempt 2: 

JustinH_2-1743018498346.png

JustinH_3-1743018507353.png

This is more aligned with the post I linked above. It doesn't work at all and I do not understand why. 

 

Attempt 3: 

I wanted to just pass on a different width and maybe I found a bug? 

JustinH_4-1743018590073.png

JustinH_5-1743018598039.png

Attempt 4: 

JustinH_6-1743018634070.png

JustinH_7-1743018642668.png

Probably the closest I have gotten but the Other column is the full width, not the Quadrant Column. *facepalm*

Attempt 5 (The Solution!): 

JustinH_8-1743018904907.pngJustinH_9-1743018914145.png

I guess this is the solution but it doesn't make any sense when following Ishmael's blog post. Can someone explain this to me? 

0 Kudos
2 Replies
LaurenceTait
Frequent Contributor

For future reference, the easiest way to do this is to nest the grids. It gives you a lot more flexibility, it's easier to instinctively comprehend and it's much easier to diagnose.

The reason your first attempt didn't work is that you told it you wanted to make a grid 2 cells wide. Then you told it to make Quadrant a width of 1 cell, ie half the grid. You then told it to make forbs a width of 2 cells, ie the full grid. Because it couldn't fit the full-width forbs and the half-width quadrant on a single line, it expanded quadrant back to full width and put forbs on the next line. It then put everything else into the grid of width 2 that you asked for in the first place. Because you had an uneven number of questions, the final question was expanded back to full width

Your second attempt failed because you told it to make Quadrant a width of 1 cell, ie half the grid width. Then you told it to make all the other questions a width of 2 cells, ie the full grid width. Because it can't put a question that occupies 1 cell and question that occupies 2 cells into a grid that is 2 cells wide, it expanded Quadrant out to occupy both cells. All the other questions also occupied both cells because that is what you told it to do.

Your third attempt failed because you told it to make a grid that is 2 cells wide, then you told it to put a bunch of questions that are 3 cells wide into those 2 cells. It did what it was asked to do and of course the result is a squashed mess.

Your final solution works because you told it to make a grid that is 2 cells wide, then you told it to have Quadrant occupy 2 cells - the entire width of the grid. You then told it to make the other questions occupy 1 cell - ie half the grid width. This was actually completely redundant, since you had already told it that you wanted two question cells on each line. You can delete all those 'w1's and it will work just the same..

 

PS, are you sure you don't mean 'Quadrat' rather than 'Quadrant'?

JustinH
Frequent Contributor

That makes a lot of sense! Thanks so much. Yes I did notice the spelling error but creating from existing FS that has the mistake. 

0 Kudos