Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems with treeGrid with big number of elements.

 
Paulo Macan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic