table row show/hide labels
I have a tableView and I'm using a function to generate dynamic data for each row. I have an event listener for the tableView that when clicked it will show/hide specific labels within the tableRow.
However when I do the click event it performs the show/hide only on the last row and not the specific row clicked.
Is there a way to tell it to show/hide the label on the row clicked.
I've tried adding the eventListener to the function that generates the rows but that did the same thing.
Any advice will help. Thanks.