Skip to Content
author's profile photo Former Member
Former Member

how to create hierarchies in wendynpro(not byusing treebynestingtablecolumn

hi,

is there any other controller with which i can create hierarchies(other than treebynestingtablecolumn and tree).

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 24, 2005 at 12:33 PM

    Hi kukku,

    first youhave to insert master column by right clicking your table. then bind the property onLoadChildren of the treebynestingcolumn to some method.Add a parameter of type TreeElement in this method.

    Also don't forget to bind the property expanded to some boolean value.

    now in the doModify do the mapping for this parameter in the method

    like

    IWDTreeByNestingTableColumn tn =(IWDTreeByNestingTableColumn)view.getElement("treebynestingcolumnID");

    tn.mappingOfOnLoadChildren().addSourceMapping("path","treeelementparameter");

    now if you write the code to add elements to the tree inside the method onLoadChildren , it wil get added as a hierarchy of the element that is clicked.

    regards,

    rahul.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2005 at 12:40 PM

    hi,

    i tried the same procedure.but not succeeded.can u tell me what this "path" refers to?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2005 at 09:44 AM

    hi rahul,

    u can mail me ur application at yellowkukku@yahoo.co.in

    i succeeded in getting two major nodes,but i m not getting the sub nodes and ite descriptions now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.