I have a dynamic table that adds a new row whenever the button beside it is clicked. Pretty simple. When a new row is added there are two cells (text fields) that the user is supposed to enter. One of the cells contains an OK button. When the user clicks the OK button, I would like the entire corresponding row to be set to readOnly, so the values can no longer be edited.
I figure there is some way of accessing a single instance in a table using an index, but I cannot figure out the syntax. Everything I try always changes the first row in the table. Does anyone have any suggestions or help?
Thank you so much!