• Post Reply Bookmark Topic Watch Topic
  • New Topic

Programatically Retrieve Node's children on Tree Expand

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to dynamically retrieve and add a node's children upon node's expansion (children of a node will only be retrieved as the tree expands because there is a large volume of data). And also remove the children upon clicking of collapse icon. How do I do it with TreeWillExpandListener? Thanks
 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to add/remove nodes on demand as user expands or collapses in order to save memory.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!