on 11-28-2008 7:34 PM
hi
i want to tooltiptex on a column
this my code :
DATA: lr_caption TYPE REF TO CL_SALV_WD_UIE_CAPTION.
DATA l_c TYPE string.
lr_column = l_value->if_salv_wd_column_settings~get_column( 'TXT01').
CONCATENATE gs_tab1-txt01 gs_tab1-txt02 INTO l_c .
CREATE OBJECT lr_caption.
lr_caption->set_text( l_c ).
CALL METHOD LR_CAPTION->SET_TOOLTIP
EXPORTING
VALUE = gs_tab1-hepsi
.
lr_column->set_cell_editor( lr_caption ).
but because of this code my column's value larking
Thanks.
Hello Mesut ,
Please use the following code
DATA: lr_caption TYPE REF TO CL_SALV_WD_UIE_CAPTION.
DATA l_c TYPE string.
DATA: lr_header type ref to CL_SALV_WD_COLUMN_HEADER.
lr_column = l_value->if_salv_wd_column_settings~get_column( 'TXT01').
lr_header = lr_column->GET_HEADER( ).
CONCATENATE gs_tab1-txt01 gs_tab1-txt02 INTO l_c .
lr_header->SET_TEXT( l_c ).
lr_header->SET_TOOLTIP( gs_tab1-hepsi ).
This will resolve your problem .
Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.