4 Replies Latest reply on Jun 28, 2012 8:56 AM by 427386

    "Lazy" loading tree nodes with custom TreeModel

      Hello --

      I have a RichTreeTable that uses a custom TreeModel that is built recursively from the result of a connect-by query. This method works fine for smaller data sets, but there are some that have several thousand nodes. What I would like to be able to do is have only the first two levels of the tree populate, and then dynamically populate the child nodes when the user selects them. For example if you had a tree that was based on countries, I'd only want the "country" and "states" to load initially. If the user selected a "state" only then would the "cities" load and so on.

      Is there a way to direct the framework to fetch in this manner, or do I need to redesign the way my tree is constructed.

      Any help is appreciated.