B4J Question TableView lost focus color lightblue

Discussion in 'B4J Questions' started by sigster, Apr 8, 2015.

Similar threads

B4J Tutorial TableView Tutorial
B4J Tutorial DBUtils Example
B4J Question TableView cell alignment and color
B4J Tutorial RDC client
B4J Question TableView Header color
  1. sigster

    sigster Active Member Licensed User


    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

  2. sigster

    sigster Active Member Licensed User

    Google :)

    .table-row-cell:filled:focused:selected {
        -fx-background-color: red;
        -fx-background: -fx-accent;
        -fx-text-fill: -fx-selection-bar-text;
    Erel likes this.
  3. rwblinn

    rwblinn Well-Known Member Licensed User


    attached an example based on previous TableView Row Selection Styling but then extended with TableView Cell Selection Styling.

    Thanks for bringing up.

    Attached Files:

  4. sigster

    sigster Active Member Licensed User

    Thanks rwblinn
  1. 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.
    Dismiss Notice