Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

problems with treeGrid with big number of elements.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




 
reply
    Bookmark Topic Watch Topic
  • New Topic