I am attempting to modify the background color of a selected row and apply the same change to a listview. When I use
cell{backgroundColor += Color.BLACK}
, it successfully changes the color, but it does not retain the selection color as intended.I have also tried the following code snippet without success. Thanks for your help!
val tableView by cssclass()
tableView {
tableRowCell {
selected {
backgroundColor += Color.RED
}
}
}