cancel
Showing results for 
Search instead for 
Did you mean: 

Status Image into Column Table

Former Member
0 Kudos

How can i do it? I need add a status image into a column. Someone know how can i do it?

[http://i35.tinypic.com/svn9ua.jpg]

Sorry, i dont speak english!

Thanks

Edited by: Giancarlo Sereni on Sep 4, 2008 6:02 PM

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Giancarlo,

In your table Insert GroupedColumn->TableColumn.

In your newly inserted column insert TableCelleditor of type Image.

In NWDS, switch to Package Explorer view and Add your image to Resources->src->mimes->Components->your component Name

Reload the project.

For image element set as TableCellEditor, set Source property to your image.

Alternatively, you can choose ~sapicons/s_b_acsu.gif under 'sap icons' as this resembles to your image.

Deploy and Run the project, image should be visible in new column.

You can use 'visible' property of image element to display or hide the image.

Hope this helps.

Vishwas.

Former Member
0 Kudos

Thanks!!! I did it! I test your method using a url Address.

Now you can tell me how can i reference to file into the project?

The file Path is:

/LocalDevelopmentdescpar~rhm.com/src/mimes/Components/com.rhm.Descarga_Participante/tilde_OK.gif

I tried:

"wdContext.currentTABLA_PARTICIPANTESElement().setSt_estado_imagen("src/mimes/Components/com.rhm.ConsultaVerificacion/tilde_OK.gif");"

Thanks for all again!

0 Kudos

As I said earlier..

Copy your image.

In NWDS, switch to Package Explorer view and paste your image to Resources->src->mimes->Components->your component Name

Reload the project.

For image element set as TableCellEditor set Source property: Browse->Component Image->your image.

This will work.

Vishwas.

Former Member
0 Kudos

Sorry, but i cant read correctly.

Thanks again!

0 Kudos

1. With Ctrl+C, Copy your image that you want to display in column.

2. In NetWeaver Developer Studio, switch to Package Explorer view. If Package Explorer view is not visible, open from Window->Show View->Package Explorer.

3. In your project, navigate to folder Resources->src->mimes->Components->your component Name.

4. Paste the copied image in this folder with Ctrl+V.

5. Right click on your project name and 'Reload' the project.

6. In image element that you set as TableCellEditor for column -> set Source like this: Browse->Component Image->your image.

7. Deploy and run your application. Your image should be visible in column.

Hope you can follow these steps easily.

Vishwas.

Answers (0)