I have a simple datagrid that is importing an xml file. I have an edit button at the end of each row, when clicked it brings up an editable form with that rows information in it. I am using event listeners to pass the information back to the main datagrid. The only think i don't understand is, how do you update the datafield values in the datagrid.
I've tried a lot of different things, variations on
myDatagrid.nameField.text = "Person's Name" nameField[1].text = "Person's name"
Anybody know how I can target the specific rows of the datagrid to edit the values in them?
I have looked a little into data binding, but I can't figure out how to bind the form (in a seperate class) to the datagrid in the main mxml file. So, not sure if this is the way to go.