java - Why does JavaFX 2 create more TableRows than required? -
in javafx 2's tableview
, there api add rowfactory
. factory used create tablerow
s; use cases developer wants features (like tooltip) span entire row.
now, working feature, noticed rowfactory
called not called once per visible row, instead once more.
if execute this piece of code, you'll notice ui shows 16 rows in ui, counter on console counts 17th line.
what's curious extraneous line appears @ beginning , filled data, not maybe invisible line @ end. i'd think header, in javafx code, not that's case.
can explain observation?
Comments
Post a Comment