cancel
Showing results for 
Search instead for 
Did you mean: 

Column width optimzation for webdynrp table and ALV

former_member654348
Participant

Hi,

I created a custom webdynpro application, where in we have an ALV and a table. i would need to incorporate Column Width Optimization, whatever is available in normal abap ALV. i tried with 'Set_fixed_table_layout', set_resizable as ABAP_TRUE etc. but of no use.

Did any one worked on the similar requirement? your inputs would be really appreciated.

Thanks in advance.

Reagrds,

Pallavi.

View Entire Topic
former_member193460
Contributor
0 Kudos

Hi Pallavi,

     i am not clear with your requirement

i am assuming you are trying to achieve the following two:

1) column width adjustment -> Ino need to do anything,its active by default in alv)

2) Regarding the scrollbar, if you use activate the scrollable column, column width adjustment to the data still works provided you have more columns displayed than the scrollable column set.The scrollbar is also active.

  wd_this->lo_value->if_salv_wd_table_settings~set_scrollable_col_count( n ).

n is less than the no of columns visible.

Cheers,

Tashi