on 08-17-2007 8:30 PM
Hi All,
Is anybody using Scroll bars in ALV table? If yes please help me out.
Iam not able to set scroll bar.
Thank You,
Suresh.
Hi Suresh ,
In the INIT method of the view where you are using the ALV do the following coding.
data: l_ref_cmp_usage type ref to if_wd_component_usage.
data: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
data: l_VALUE type ref to Cl_Salv_Wd_Config_Table.
*initiate the used component
l_ref_cmp_usage = wd_This->wd_CpUse_Alv( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Alv( ).
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model( ).
*Set visible col count
l_value->if_salv_wd_table_settings~SET_SCROLLABLE_COL_COUNT( EXPORTING value = 4 ).
So in method SET_SCROLLABLE_COL_COUNT give the number of columns visible for rest you will have to scroll.
Regards
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.