Skip to main content



      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] Fri, 20 March 2015 23:29 Go to next message
Eclipse UserFriend
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 03:36 Go to previous messageGo to next message
Eclipse UserFriend
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 01:14 Go to previous message
Eclipse UserFriend
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 Jun 19 23:49:09 EDT 2025

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

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

Back to the top