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

getTableRow returns null on first calls with custom cell renderers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.1
    • fx2.1
    • javafx
    • Win XP, Java 7 or Scala 2.9

      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

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: