on 03-24-2010 6:51 AM
Hi Experts,
I have a table control in abap web dynpro component and I am populating the same using context node. My table contains one extra column which contains image and that will change as per the value of another cell content.
Eg. if particular cell contains value 'R' then that row image should be Red icon and if it contains G then row image contains Green image.
Any Help??
Thanks,
Prashant
Hi,
follow the steps:
1. Add a attribute to the node binded to table of type string.
2. Have a table column and add image ui element to it.
3. Bind the source property of image to the new attribute created.
4.Now set the attribute binded to image based on your requirement.
For Red : Give the value to attribute as ~Icon/RedLed.
For Green : ~Icon/GreenLed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this help
https://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-UsingUIelementsinALVcomponentcells
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.