I would like to know what is the best way to populate a tree gui which has the following details:
My application should reflect a tree structre with about 8000 members but directly under the
root there are maximum 15 members.Its clear that each time a user open the application he wont need to look at all the 8000 members and my question is how to build the tree ? should I load all members and build the tree or load just the first level and only if a user expand a member ,its children should be loaded ? and if the second way is better ,how should I know if
the members were already loaded ?
The second issue is how to do it (if there is any difference) : my application can get the members details by quering some sql tables (the member details actually handled by another application and are in some tables) or getting the info into the stack by using this other application api.