cancel
Showing results for 
Search instead for 
Did you mean: 

How to replace alv tooltip

Former Member
0 Kudos

I am using following coding to set a tooltip for each cell of a ALV column.

DATA:  lo_link           TYPE REF TO   cl_salv_wd_uie_link_to_action,

lv_text = 'MyTooltip'.

lo_link->set_tooltip( lv_text ).

lo_column->set_cell_editor( lo_link ).

Unfortunately the tooltip appears with the content of the cell as prefix. Example: Content of cell = 'MyCellContent'

-> tooltip appears as "MyCellContent - MyTooltip".

How to remove this standard-tooltip? I want display only "MyTooltip" as tooltip.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Problem solved: it was the fixed tablelayout in the configuration, which caused the problem.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

For that column try using the below method.

lr_column_header->set_prop_ddic_binding_field(

               EXPORTING property = if_salv_wd_c_ddic_binding=>bind_prop_tooltip

                         value    = if_salv_wd_c_ddic_binding=>ddic_bind_long ).

Thank you.

-Siddharth