This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes problems with treeGrid with big number of elements. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "problems with treeGrid with big number of elements." Watch "problems with treeGrid with big number of elements." New topic
Author

problems with treeGrid with big number of elements.

Paulo Macan
Greenhorn

Joined: Mar 13, 2014
Posts: 2
Hi people.

[First of all: I'm sorry for my poor English.]

We have a problem here using GWT with TreeGrid.

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:



Thanks a lot!

Best regards

Paulo
Vijay kumar G
Greenhorn

Joined: Oct 07, 2012
Posts: 3
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.


-Vijay
Paulo Macan
Greenhorn

Joined: Mar 13, 2014
Posts: 2
Hi Vijay:

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.




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problems with treeGrid with big number of elements.
 
Similar Threads
Pseudo Code for isPerfectTree() method
Sun Cirtification
SQL Performance Tuning - Release Announcement - Addison-Wesley
paging grids with filters dont work
Tournament Tree help