Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to implement Lazy loading of tree nodes in nattable tree?
How to implement Lazy loading of tree nodes in nattable tree? [message #1688580] Sat, 21 March 2015 03:29 Go to next message
Pooja Jain is currently offline Pooja JainFriend
Messages: 4
Registered: March 2015
Junior Member
I have achieved tree structure using nattable in my application.
For loading each node I need to query database, which takes much time, so my requirement is to load nodes only after expansion event.
What is the best way to implement the behavior in Nattable?
Is it possible to load tree nodes when clicked?

Thank you in advance.
Re: How to implement Lazy loading of tree nodes in nattable tree? [message #1688949 is a reply to message #1688580] Sun, 22 March 2015 07:36 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I heard of projects that implemented that. But it is not a trivial task, since you need to have some fake elements in your list to inidicate that there are children, and load them on expand if that element is found.
Re: How to implement Lazy loading of tree nodes in nattable tree? [message #1689244 is a reply to message #1688949] Mon, 23 March 2015 05:14 Go to previous message
Pooja Jain is currently offline Pooja JainFriend
Messages: 4
Registered: March 2015
Junior Member
Thanks a lot for reply.
I will try to implement the same.
Previous Topic:Export to Excel functionality
Next Topic:Auto row height for images
Goto Forum:
  


Current Time: Thu Apr 18 10:35:32 GMT 2024

Powered by FUDForum. Page generated in 0.01252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top