Skip to Content
avatar image
Former Member

Vertical Scroll Bar not working in WD ALV

Hi ,

I created a dynamic alv in webdynpro and binded dynamic table to alv . I am getting vertical scroll bar but when I scroll down the scroll bar goes up automatically .

I am doing only below operations with config table .

DATA: wd_table TYPE REF TO iwci_salv_wd_table.
       DATA: alv_config_table TYPE REF TO cl_salv_wd_config_table.
       DATA : lv_count TYPE i.


*- First binded table

         dyn_node_main->bind_table( <g_t_alv> ).


       wd_table = wd_this->wd_cpifc_disp_alv( ).
       alv_config_table = wd_table->get_model( ).
       DESCRIBE TABLE <g_t_alv> LINES lv_count.


         alv_config_table->if_salv_wd_table_settings~set_scrollable_col_count( 11 ).


       IF lv_count GT 10.
         alv_config_table->if_salv_wd_table_settings~set_visible_row_count( 10 ).
       ELSE.
         alv_config_table->if_salv_wd_table_settings~set_visible_row_count( lv_count ).
       ENDIF.



Regards,

Ramesh .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 28, 2015 at 06:12 AM

    Hi,

    Have you check if scroll bar working correctly  as per your requirement when ALV table has visible row count = 10 ?.

    Thanks

    KH

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      when I have Row count = 10 no scroll bar appears and  if Row count > 10 scroll bar appears but that scroll bar does not allow me to scroll down . Even when I scroll down it will again move back to top of page .