I need a direction to encode a screen which has a grid with a relationship between two lists of combos associative. On one side I have combo(s) of state and other combo(s) of the city, for each selected state should load the combo of town carrying all cities for this state.
I do not know how many combos of state will appear in the datatable as they would come up as a result of a iterator process.
uf  = 'SP'
city  = 'Sao Paulo'
uf  = 'MG'
city  = 'Belo Horizonte'
uf  = 'BA'
city  = 'Savior'
My issue is to mount it on the screen, because I need to associate each combo with an item from this list and save it all by pressing a button.
As follow there is the code of the page and the associated class.