cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to display the Icon at row selecting button in web dynpro?

Former Member
0 Kudos

Hi All,

I have a requirement to display a button with image , which is used to select the row in a Table(Not ALV).

As in the below image,at the button which is generated before the first column, I need to display icon there,if the row is selectable.

Is it possible to add the Icon there? If not , please suggest any alternative.

Thanks,
Vamshi

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Vamsi,

I don't think we can add an icon to the selection column but you can only change the selection column design by using method SET_SELECTION_COLUMN_DESIGN of class CL_WD_TABLE

If you want to go ahead with some work around, proceed as below

    • Create attributes in context node ICON_SOURCE of type string
    • Add an extra column ( 1st column ) and insert the editor of type BUTTON
    • Bind the property imageSource to the attribute "ICON_SOURCE"
    • Now, you can populate the icon of your choice

Regards,

Rama

Answers (0)