Skip to Content
avatar image
Former Member

Creatin UI element TREE and on CLick display View onto Right

Hi Experts,

I want to create tree on the left hand side of view and on clicking either parent or child, I want to display details in corresponding view in the right hand side.

Could you please provide me the approach for this?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 25, 2009 at 05:46 AM


    create a tree ui element.

    under it create Tree_item_type.Create an action for this.

    create a context node and with 1 attribute (type string)...Bind this node to the datasource of the TRee UI element.

    Now in the right side u can create any ui element in which data should appear based on the click of tree (for this create another context node with attribute).

    now fill the tree with values in wddoinit method of view

    and code for displaying values in right side ui element based on the click on tree should be written in the action method which we have created above for the tee_item_type.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      I want to display another view to the right. How I can call another view there.

      There may be multiple views but which to be called is based on the click onto the tree hierarchy.



  • Jun 25, 2009 at 06:27 AM

    Hi Deepesh,

    I guess that you would be better off using an [NavigationList |]UI element for this particular scenario.

    The NavigationList allows to display hierarchical organized content by means of a tree-like structure. However, the only difference is that this element does not allow to define nodes that can be expanded and collapsed like a Tree does. Also whenever you select an selectable list item the system triggers an event by name "Select". You can write your coding within the event handler of this method. This UI element is 1 of the elements being covered in the [NET312 course|[[|NET312|||062|G]]|].



    Add comment
    10|10000 characters needed characters exceeded