Best way to handle lazy loading in TreeView
edvinOct 12 2011 — edited Oct 13 2011It 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?