cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical Scroll Bar not working in WD ALV

Former Member
0 Kudos

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 .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

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

Thanks

KH

Former Member
0 Kudos

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 .