cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide Row Selector in WD ALV

Former Member
0 Kudos

Hi Experts ,

I want to hide the row selector ( Button from which row is selected in ALV ) . On other hand i have set row selection as abap flase which is disabling the row selector . But still that selector is displayed...

Kindly let me know as early as possible

Thanks in advance

Badari patil

Accepted Solutions (0)

Answers (3)

Answers (3)

vineetkumarsingh
Explorer
0 Kudos

Try below code

DATA: lo_config_table TYPE REF TO cl_salv_wd_config_table,

after getting model as below you can write below code

lo_config_table = lo_interfacecontroller->get_model( ).

lo_config_table->if_salv_wd_table_settings~set_selection_mode( cl_wd_table=>e_selection_mode-none ).

0 Kudos

hi Badarinarayan,

data: l_ref_interfacecontroller type ref to iwci_salv_wd_table,

lr_table type ref to cl_salv_wd_config_table.

l_ref_interfacecontroller = wd_this->wd_cpifc_alv1( ).

lr_table = l_ref_interfacecontroller->get_model( ).

<b> lr_table->if_salv_wd_table_settings~set_selection_mode( cl_wd_table=>e_selection_mode-none ).</b>

Regards,

HaeCheol

Former Member
0 Kudos

Hello, Badarinarayan,

Do you need to select one or more elements from the context. If you don't need to select them, you can define the "Selection" property of the Node as 0..0. This way, it will hide the selection button from the row.

Regards,

Andre