Closed PavelTurk closed 3 weeks ago
No one can help? I've checked Sample - there also if table row is selected it is not possible to deselect it when table looses focus. At least I didn't find how to do it.
.table-view {
-color-cell-bg-selected: red;
-color-cell-fg-selected: yellow;
-color-cell-bg-selected-focused: green;
-color-cell-fg-selected-focused: orange;
}
You can find all color variables in the doc.
@mkpaz Sorry for the delayed reply. This issue is really very important for me and I tried, but couldn't find solution. So, thank you very much!
I need to set background color for selected but not focused table row. This is my java code:
And CSS:
This solution works if I use pure JavaFX:
However, with atltantafx it doesn't work - once selected row has always the same color - it doesn't matter if it is focused or not:
Could anyone say how to do it with atlantafx?