ok, I can select a row in a tableview & scroll to it,
but it is not highlighted with the same hues (lightblue) as per clicking a row.
How to make the selected row stand up in the crowd in blue (and not in grey)
The solution described in the link you provided changes the background for selected row REGARDLESS if the tableview is focused or not.
the CSS below will have 2 color for selected rows: 1st for selected AND focused; 2nd for selected BUT NOT focused.
B4X:
.table-row-cell:selected {
-fx-selection-bar: #0093ff; ' <---------------- the "default" blueish hue for selected & focused
-fx-selection-bar-non-focused: #C0FFC0; '<---------- color for selected BUT NOT focused line
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.