on 03-15-2006 1:35 PM
I have created a 2 views
The first view contains a Tree Control like:
MainMenu 1
- submenu 1
- submenu 2
MainMenu 2
- submenu 1
- submenu 2
MainMenu 3
- submenu 1
- submenu 2 and a tranparent container in the right side of tree.
The second view contain some contents.
I want to give action for the tree element like if I click the submenu , it should display the second view in the transparent container of the first view.
Can anyone pls suggest me?
Thanks.
Hi Abdul,
first of all create a viewset with two columns. In the first column the tree view is displayed and in the second column the content view is located. Then create a navigation path from view1 (tree view) to view2 (content view). Then fire the plug in your action handler method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdul,
I guess what you need is a Link To Action table column. You can achieve same by following the below mentioned steps:
1) click on table and try to bind it to the context node
2) change the property "cell editor of table column" to "link to action" of the column/attribute from where you would like to trigger the action.
3) bind the "visible" property of VC to a context attribute of type boolean
4) set this attribute to abap_true in event OnAction__()
this will display your view at that location.
Hope this helps.
Regards,
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.