This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The question is simple: It works fine when the number of elements inside the structure of the tree is small, but when it grows to a big amount of items, the bottom of the tree is not able to show all of its elements, and it appears in white color but empty.
Then, if you close some of the branches... It shows some more elements of the bottom, depending of the number of elements of the tree.
Can someone help me? There is a solution for this? I've been searching a lot but I didnt find anything useful.
We use this libraries:
And here is an example of code of our application:
Try to load the tree using Async Tree Grid method .If you load grid using sync method means it should be less number of records for better performance.
Joined: Mar 13, 2014
Thanks for your answer.
I'm still thinking how to apply your solution to my application, but while I've been trying diferent things and I found that it seems to work better increasing the size of the Cache. I do it calculating the size of the branch and having this value as cache size
Doing this the treeGrid loads quite slowly and it doesn't work fine always when the number of elements is too big (for example, having one branch with 600 elements or more).
The user have to wait the complete load of the branch but anyway it works better than before.
I don't really know the consequences of doing this.