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.
do you mind to share your piece of code ?
I ask you this question because the java devlopper, of my company, says that it is not possible.
in our case we have 3 level in the tree and ~ 2500 leaves. And I would like the client side to download the full tree at once. And then scrolling the tree goes smoothly