Ui Widget, Best way to write to 140 Variables

I have something similar to a scoreboard (but its not) where I read a database and can display up to 20 rows of data with each row having 7 columns. That’s 140 text variables which I have to do a set text to each variable.

I hope there’s a better way I can create the UI widget without setting up 140 text variables, naming each one so I know which one I’m writing to and doing a set text to each.

If so can someone please explain the best way to do this.

Thanks.

You make a separate widget BP for a single row, then in your screen BP you use a loop to create instances of the row BP, set the values, then add it to the container widget (a verticalBox, for example).

Thanks, I’d been tinkering and was starting to think that was the way to do it