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

getTableRow returns null on first calls with custom cell renderers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      Win XP, Java 7 or Scala 2.9

      Description

      Hi,

      Continuing my table experimentations, I was wondering why when looking for a row on a custom cell renderer to test for null?
      It seems that getRow returns null on the first calls?
      It is an issue for cells for which the values are updated only once (for example, I have a table with countries, and I have flags for them that I set dynamically), only playing with the scrollbar calls the cell renderer which renders the flag because getRow is not null....

      Thx

      See https://forums.oracle.com/forums/thread.jspa?threadID=2313767&tstart=15

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: