【发布时间】:2019-01-05 13:03:04
【问题描述】:
我正在尝试更改所选行的背景颜色和相同的列表视图,就像我做cell{backgroundColor += Color.BLACK} 时一样,但它会删除或至少使选择颜色变黑我已经尝试过下面的方法,但遗憾的是 dossnt 工作。感谢您的宝贵时间!
val tableView by cssclass()
tableView {
tableRowCell {
selected {
backgroundColor += Color.RED
}
}
}
【问题讨论】: