on 10-26-2010 5:11 PM
Hi,
I have an ABAP Webdynpro ALV Grid that contains 20 columns which is difficult to show it all on one screen.
Am using the following code to make the ALV horizontal scrollable, but not able to see the actual scrollbar instead was able to see forward and backward buttons. Could you pls let me know how to get this.
*Get the reference component controller usage the ALV
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_salv_wd_table = wd_this->wd_cpifc_alv( ).
l_table = l_salv_wd_table->get_model( ).
*Set the table setting editable/scrollable/append/insert functionality
l_table->if_salv_wd_table_settings~set_read_only( abap_false ).
l_table->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
Regards,
Vind
Fix the table layout using the following line of code before setting the scrollable col count
table_settings->set_fixed_table_layout( abap_true ).
Regards,
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.