on 03-22-2005 3:09 PM
how can i add an image in a table at some coordinates? the table has data from BAPI'S and i need to put some images in all the rows based on the data there...how to go about it?
thanks in advance
Hi Kamal,
You want to display Images in one of the table columns.Is that your question ?
If so , you can do the following.
1. Insert Column in the webdynpro table.
2. Insert TablecellEditor and select Image from the list.
3. Bind the Source and Alt properties of the Image .
You can change the bindings at runtime so that depending uopn the result you can change the image.
Regards,
Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Greetings,
Just to clarify, store the images to:
<YourWebDynproProjectFolder>/src/mimes/Components/<YourComponentPackageName>
The Web Dynpro Editor should have created the <YourComponentPackageName> when you created your Component, so you should see this package in there. This is the actual package you've given your Component.
Also, another way to move your image files to that location is do an import and select the 'file system' option.
Once you've successfully move them, make sure that the images are loaded in the project, so then I suggest do a project 'reload' (right click on project name to see reload option). You'll save yourself some headache, believe me.
Lastly, you do not have to refer to the full path of the image to access it. Just use the image file name in your code and you should be good to go.
I hope this helps more..
Christian Nuesa
<><
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
or u mean to say i do it programmatically?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Anil,
yeah u got the question right, but how do i bind an image to the context . To be able to display the image in the table , we need to bind the image to the context, but i see that i can just bind either value nodes and value attributes which are some data types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.