Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering TreeView
Message
De
24/11/1998 11:11:19
 
 
À
24/11/1998 05:50:17
Jody Cairns
OAO Technology Solutions
Moncton, Nouveau-Brunswick, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00160551
Message ID:
00160958
Vues:
21
>>I am using a treeview and i want to display the nodes that apply to a certain criteria( ex:only the employees who are programmers out of the total etc). Can anybody help?
>
>So you already have the treeview populated with nodes, where the nodes show the relationships between your tables? Do you mean populate the treeview with new nodes pertaining to the criteria you want, or "hiding" existing nodes to display only those nodes that fit your criteria?
>
>Note that you cannot "hide" a node, if that's what you want. You must delete it (or collapse it if it's within a tree) to hide it.
>
>jody

Jody,
Yes, my treeview is populated with data from a table called,lets say, "companies",and the companies have different type (investment managers, sponsors , consultants). My question is : depending on the tab I am (companies, managers,sponsors) i wanna see in treeview only the companies which match that criteria. What i want to do is to make invisible the nodes not pertaining to that criteria. Does collapsing prevent displaying? There is a solution ,to rebuild the treeview every time i change the criteria, but my program will be very very slow. Also I can use 3 treeviews,being one for each criteria , one on top of another, and set their visible property to false or true when necessary. Is that going to make my program slower than in the first case?
Can you advice?
thank you ,
Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform