i wanto to build a tree were i bring the child data on expand..and not all the data together at start. this because i have so much of data ( 20,000)
Try this approach:
1) Look at this link:
2) Write getNodes() method in a such way as it should load data from DB only on demand.
Is it ok for you?