Engineering Requirements Management

Engineering Requirements Management

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

How to Create a TreeView

  • 1.  How to Create a TreeView

    Posted Thu November 12, 2020 10:42 PM

    I'm applying a filter to a module to filter out the orphans and widow in that module. I want to display this is a tree structure but I'm not sure how to go about it. I need help creating the tree. If anyone could please help I would really appreciate it.





    #EngineeringRequirementsManagement
    #Support
    #Sustainability
    #DOORS
    #SupportMigration


  • 2.  RE: How to Create a TreeView

    Posted Wed November 18, 2020 05:47 PM

    You create trees using the treeView() dialog and the insert() function to add things to the tree.

    The important thing to note is the database separator (which is just a forward slash, or you can use the constant "dbSep" in DXL) is used as a delimiter. So when you insert something in the tree, for example an object tree, you need to insert it as

    insert("/" identifier(obj) "/" identifier(otherObj))

    This tells DXL that obj is a branch with otherObj as a leaf of the branch.

    If will take a little experimenting to get the hang of, but it work fine once you do.





    #SupportMigration
    #EngineeringRequirementsManagement
    #Support
    #Sustainability
    #DOORS