gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 374 forks source link

Tree should provide an API for lazy loading children #7384

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 7387

The Tree Widget should provide an API for lazily loading the children of a node.  Currently,
users must add a "fake" tree node, catch the onopen event, then replace the fake node
with real children.  A better option is to specify a ChildProvider that will provide
the children the first time the tree is expanded.

Even though CellTree already supports lazy loading, Tree is a simpler API and would
benefit from a simple lazy loading API.

Reported by jlabanca@google.com on 2012-05-24 14:35:52

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-06-02 20:35:57