Hello,
I have a gallery that can have different number of rows. I need to be able to rank the different records being displayed on the gallery with a dropdown that contains as many integer numbers as number of rows (1, 2, 3, 4....).
I'm struggling to define the dropdown "Items" (the allowed integer values you can chose ["1", "2", "3"....]) which will depend on the number of rows in the gallery.
I've used CountRows and Gallery.AllItems to calculate the number of rows in the Gallery. So that is the "Maximum" value you need to be able to chose from the dropdown.. But how do I concatenate to add from 1 to the maximum number? Any Loop function available?
Example: This gallery has 4 rows. So the dropdown options should be 1,2, 3 and 4.

But the number of rows can change, so the available dropdown options should change too.
Should be easy to make it work... I just can't figure it out! Thanks 🙂