Make TableView height match content
tomas.mikula at gmail.com
Wed Jan 7 13:48:12 UTC 2015
On Wed, Jan 7, 2015 at 11:49 AM, Werner Lehmann
<lehmann at media-interactive.de> wrote:
> Hi Dan,
> typically it is not a good idea to do this. TableView has a reason to manage
> scrolling on its own: if the tableview has 100000 items you don't want to
> have all these nodes in the scenegraph when it is sufficent to show the
> visible ones.
On that note, it would be interesting to explore the idea of managing
TableView's (ListView's, TreeView's) scroll by its parent (e.g. a
parent ScrollPane) while still keeping the content virtualized. It's
not unreasonable to ask for, and not impossible either. It's just not
how things are right now.
More information about the openjfx-dev