I've been trying to customize the appearance of specific columns in a tableview using JavaFX. My goal is to make editable values display with a light yellow background to indicate that they can be edited.
However, when I apply the following CSS to the field:
.editableColumn.table-cell {
-fx-background-color:lightyellow;
-fx-alignment:CENTER-RIGHT;
-fx-border-width: .5px;
-fx-border-style: solid;
-fx-border-color:grey;
}
It ends up removing all other formatting, such as highlight bars.
Could someone advise me on which additional CSS properties I should set in order for the highlighting to work properly and prevent my values from disappearing (as it's currently white text on a yellow background)?
Appreciate any help!