on 03-31-2008 1:16 PM
Hi
Quick one. Is there an way to enable the the selection of sub nodes when I select a row( node) in a table tree column? Basically if I select the parent of a leaf, I wish to select all the leaves automatically. Obviously when I de-select the node the reverse should happen.
I assume not hence I have started to code it myself but thought I would check anyway.
Cheers
Ian
Hi Ian ,
while creating the action handler for the action check transfer UI Event Parameters ( in Popup ) , this will provide u the parameters for the event , and in the table UI element for action onselect , OLD_LEAD_SELECTION parameter is present .
Hope this will help u .
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash
I already have the OLD_LEAD_SELECTION and NEW_LEAD_SELECTION parameters present and I using the NEW_LEAD_SELECTION parameter to extract information.
However, I was expecting the is_selected attribute of the NEW_LEAD_SELECTION parameter to be set to abap_false once I deselect the row. I wish to track when the row is deselected as well as selected since I need to deselect all child nodes as well as select them.
Cheers
Ian
Hi,
the easiest would be to loop over the subnode
and use the method set_selected with the sy-tabix as index
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.