on 04-16-2009 5:45 PM
Hi,
is there a method in ALV where I can lock/freeze the first column from being scrolled ??
Thanks
Yes:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
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.
data l_salv_wd_table type ref to iwci_salv_wd_table.
l_salv_wd_table = wd_this->wd_cpifc_alv( ).
data l_table type ref to cl_salv_wd_config_table.
l_table = l_salv_wd_table->get_model( ).
l_table->if_salv_wd_table_settings~set_width( '100%' ).
l_table->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
data l_column type ref to cl_salv_wd_column.
l_column = l_table->if_salv_wd_column_settings~get_column( 'SO_ID' ).
l_column->set_fixed_position(
EXPORTING
value = CL_WD_ABSTR_TABLE_COLUMN=>E_FIXED_POSITION-left ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx Thomas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.