I just came across something weird, I have a tableView with rows each containing a few different labels and an image, when a row is clicked I want one of the labels in the clicked row to disappear, I achieve this with
tableview.addEventListener('click', function(e){ var thisRow = e.row; thisRow.children[3].hide(); }But when I do this, the other text labels in the row change their color unexpectedly. They are set to highlightedColor:"#FFF", and basically what seems to be happening is that they don't revert to their original color (which is black). I can tell because the selectedBackgroundColor of the row is black, so when I click it after the text has disappeared, the text appears again as white on black.
If I don't hide anything from the row when I click it, the labels display the expected behavior (changing color when clicked, but reverting on release), also if I remove the highlightedColor styling, the label is hidden and the text remains their original color.
Your Answer
Think you can help? Login to answer this question!