How do I efficiently store and use inputted data for a menu with multiple rows and columns of information

Hey there!

I have a UI grid of contestants or characters where I would like the player to be able to input names and assign each contestant different stats, which are shown in this menu, and then used throughout the game/simulation.

I don’t often work with data, and while I tried Data Tables, these are Read-Only.

I have each contestant’s data in an array of Structs, but am unsure of how to assign this data back onto each contestant efficiently. I can’t bind each piece of data (Portrait image, name, etc) to a choose data from an array, since they don’t take any inputs, and doing it manually seems really inefficient.

Also, using the Binding system manually like this makes it really easy to cause mistakes in the program. For example, I can try and add Contestant 2’s portrait before Contestant 1, but then Contestant 1 would have Contestant 2’s portrait because it is the first portrait in the array.

I was wondering if there is a better way I have missed. I’m not a programmer, but I am trying to learn more.