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

Styling table using css in TableRow.updateItem doesn't work propperly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • Win7 x64, JDK8 b114

      Style is not applied correctly when styling rows depending on the item using getStyleClass().add()/remove() in TableRow.updateItem() and sorting the table, or adding new items.

      1) Launch the attached example app (TableSample.java and test.css)
      2) Press the column headers a couple of times to sort the table
      Result) The rows are not styled appropriately (names starting with E should not be opaque)
      3) Press the ‘Add items’ button a couple of times
      4) Scroll down
      5) Repeat step 3-4
      Result) The styling is not always correct, also the update flickers

            dgrieve David Grieve
            jringdah Johan Ringdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: