Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124002

Not apply focused by CSS in TableCell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • None
    • javafx
    • Windows 7 Enterprise Service Pack 1, 64 bits
      Java 8 b84

      I'm trying to focus a cell and after change style with CSS, but it doesn't work good.
      This is an example of my code:
      Java :
      table.getFocusModel().focus(tablePosition.getRow(), tablePosition.getTableColumn());

      CSS:

      .table-view .table-row-cell .table-cell:focused
      {
          -fx-border-width:1 1 1 1;
          -fx-border-color: #FFEA00 #FFEA00 #FFEA00 #FFEA00;
      }

            jgiles Jonathan Giles
            cmingojfx Carlos Mingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: