on 07-14-2014 1:11 PM
Hi Jack,
As suggested by Amy, you can consider of using LINKTOACTION ui element as cell editor for your tree element.
You need to have an attribute LINK_ENABLE of type WDY_BOOLEAN inside the tree node and bind it to the property ENABLE of linktoaction ui element. Whenever the link is to be displayed, you can pass the value ABAP_TRUE to the attribute LINK_ENABLE else pass ABAP_FALSE, so that link appears in the tree element key.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack,
One option would be to use a LinkToAction as the cell editor in your TreeByKeyTableColumn instead of a TextView. You could bind the enabled property of the LinkToAction cell editor to a context attribute in your data source table. When enabled=false, the LinkToAction will appear only as text (no link). When enabled=true, the LinkToAction will appear as a link.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.