Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Best way to handle lazy loading in TreeView

edvinOct 12 2011 — edited Oct 13 2011
It is possible to attach a listener to each TreeItem's expandedProperty and then loading the children if the node get's expanded, but am I really supposed to attach a listener to each TreeItem in my hierarchy? Is there a way to attach a listener directly to the TreeView that would get notified when a node is expanded?
This post has been answered by Jonathan Giles-Oracle on Oct 12 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2011
Added on Oct 12 2011
10 comments
2,386 views