@Bob64
@Bob64 said in TableView: the highlight of the selected row is displayed only after scrolling:
color: {
console.log("Color changing - selected = ", selected);
selected ? "#F1F8E0" : "#ffffff"
}
It's working fine!
Also, to select the entire line, I had to replace::
@woodpecker said in TableView: the highlight of the selected row is displayed only after scrolling:
tableView.selectionModel.select(tableView.index(row, 0), ItemSelectionModel.Select);
with:
tableView.selectionModel.select(tableView.index(row, 0), ItemSelectionModel.Select **| ItemSelectionModel.Rows**);
.