Not fully understanding your issue… Could you try explaining it in another way?
couple shots in the dark:
1 - if you are trying to save this table somewhere, it seems like each line is already saved in the database… Seems like all you need to do is all the repeating group items to a list inside of another Datatype?
2 - You mention custom states, why do you need these and what are you trying to do with them? Using custom states within a row of a repeating group can really only be done with the Orchestra & Musicians plugin. That might get you going.