how to set slected row color in javafx tableview code example
Example 1: how to set slected row color in javafx tableview
.table-row-cell:selected {
-fx-background-color: steelblue;
-fx-text-background-color: red;
}
Example 2: how to set slected row color in javafx tableview
.table-row-cell:selected {
-fx-background-color: steelblue;
}
.table-row-cell:selected .text {
-fx-fill: red ;
}