Topic: Using TreeView
I have a couple of questions about using the treeview component that don't seem to be covered by either Dmitry's examples or those by K245 on his website or the recent example of DRAMA2 posted by .
1. Is it possible to use a variable to operate the filter rather than hardcoding it in the treeview settings page? I don't see a filter option published as a property in the component help.
2. Is there an easy way of working out the index position of the branches?
This maybe a moot problem if I can use a variable to alter the filter search. The problem occurs if I need to add items to the tree other than manually counting the number of items per node, Is there a way to customise the text on the menu popup when right clicking on the tree when the editing functions have been enabled?
3. If in the end I have to manually make the treeview in script, how do I make headers/titles as the actual component allows under Settings? Options does not seem to be a published property
What I need to do is to select an item from a standard grid (the Master part) and then have this part 'open up' in a treeview which shows an assembly of parts under it.
The attached images shows the result I want to get, I have manipulated the database manually to achieve what is in the image of the treeview. The lower treeview is one I created manually.