on 09-08-2008 6:56 AM
Hi All,
I am using ALV table display how to remove auto lead selection???
2) can i change alv column header alignment and colour???
Can any doby give me suggesions.
Thanks&Regards
Revathi
Hi suman,
Thank you for u r reply.
by using set_selection_mode( none) we cant select any row.
but i want to select the row. but i dont want to see automatically( i dodnt want default selection ).
when ever i will select the row then only it should take that row as lead selected.
Thanks
revathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Revathi,
These are the possible values you can pass to my previous code.
Constant Value Selection Mode
AUTO '00' Automatic
SINGLE '02' Single selection with lead selection
MULTI '04' Multiple selection with lead selection
NONE '06' No selection
SINGLENOLEAD '07' Single selection without lead selection
MULTINOLEAD '08' Multiple selection without lead selection
for single selection
value->IFSALV_WD_TABLE_SETTINGS~SET_SELECTION_MODE( '02' ).
Thanks
Suman
Edited by: suman kumar chinnam on Sep 8, 2008 9:54 AM
Edited by: suman kumar chinnam on Sep 8, 2008 9:55 AM
check this code to remove the Lead selecetion...
*Remove Lead selection
l_value->IF_SALV_WD_TABLE_SETTINGS~SET_SELECTION_MODE(
CL_WD_TABLE=>E_SELECTION_MODE-NONE ).
I think we cann't change the alignment of the header as well as color.You can add any text and images to the header like...
*Create Header
data: l_header type ref to cl_salv_wd_header,
str type string.
*Add Text and Image to the Header
l_header = l_value->if_salv_wd_table_settings~create_header( ).
str = 'Flights Details'.
l_header->set_text( value = str ).
l_header->set_image_source( value = 'ICON_FLIGHT' ).
Thanks
Suman
Edited by: suman kumar chinnam on Sep 8, 2008 8:06 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.