S sigster Active Member Licensed User Longtime User Apr 8, 2015 #1 Hi when I select record in TableView I change the color in CSS file then I select textbox the record I select in TableView get the color lightblue how can I change TableView color lightblue when TableView lost focus Regards Sigster
Hi when I select record in TableView I change the color in CSS file then I select textbox the record I select in TableView get the color lightblue how can I change TableView color lightblue when TableView lost focus Regards Sigster
S sigster Active Member Licensed User Longtime User Apr 8, 2015 #2 Google B4X: .table-row-cell:filled:focused:selected { -fx-background-color: red; -fx-background-insets: 0, 1, 2; -fx-background: -fx-accent; -fx-text-fill: -fx-selection-bar-text; } Upvote 0
Google B4X: .table-row-cell:filled:focused:selected { -fx-background-color: red; -fx-background-insets: 0, 1, 2; -fx-background: -fx-accent; -fx-text-fill: -fx-selection-bar-text; }
rwblinn Well-Known Member Licensed User Longtime User Apr 8, 2015 #3 Hi, attached an example based on previous TableView Row Selection Styling but then extended with TableView Cell Selection Styling. Thanks for bringing up. Attachments TableViewSelectionStyle.zip 2.3 KB · Views: 381 Upvote 0
Hi, attached an example based on previous TableView Row Selection Styling but then extended with TableView Cell Selection Styling. Thanks for bringing up.