on 04-22-2009 11:58 AM
In the below link Thomas is metioning to set the scrollableColCount to control how many columns of the table are displayed at once.
Please let me know how to get the screen as mentioned in below link in ALV.
http://www.flickr.com/photos/tjung/2685619854/in/set-72157606418550143/
I have used ViewContainerUIelement to display the ALV.
But it uses paginators when i use below code...
CALL METHOD lo_value->if_salv_wd_table_settings~SET_SCROLLABLE_COL_COUNT
EXPORTING
value = '15'.
What method should be used to get horizontal scroll and vertical scroll.. Please provide me any demo Web dynprocomponent...
Should i have to any settings in the layout.. Please Help...
Hi Madhusudhan,
Goto the Application Parameters and set the WDTABLENAVIGATION parameter as SCROLLBAR.
Once you set this parameter the Vertical scrollbars would come automatically when the no.of rows have exceeded the visible row count.
For Horizontal scrollbars you can set the Scrollable_col_count.
Regards,
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer the following code to get the horizontal and vertical scroll bar.
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_alv_first( ). "alv_first is the name of my alv component
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_first( ).
data l_table type ref to cl_salv_wd_config_table.
l_table = l_salv_wd_table->get_model( ).
data l_column type ref to cl_salv_wd_column.
l_table->if_salv_wd_table_settings~set_scrollable_col_count( 3 ).
l_table->if_salv_wd_table_settings~SET_VISIBLE_ROW_COUNT( 3 ).
Use this code in the WDDOINIT method. Set the number according to the no. of column and rows you want to see at a time on screen.
I hope it helps.
Regards
Arjun
Edited by: Arjun Thakur on Apr 22, 2009 4:44 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.