Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Set ALV-List on 100% of the browser window

$
0
0

I have a problem with the configuration of the ALV component in a view. I would like that the maximum width is oriented to the browser window.

My first attempt was to set in the matrix Head Data-layout dataof the ViewContainerUIElement which includes the ALV component width to 100%.

The second attempt to put in the ALV table settings its width to 100% was:

DATAlo_interfacecontrollerTYPE REF TOiwci_salv_wd_table.
DATA lo_model TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
lo_interfacecontroller = wd_this->wd_cpifc_alv().
lo_model = lo_interfacecontroller-> GET_MODEL ().
lo_model-> IF_SALV_WD_TABLE_SETTINGS ~ set_width ('100%').


Both attempts were unsuccessful.

My goal is that the maximum width of the ALV ALWAYSbased onthe browser window. If multiple columns are displayed, is to be offered to the user a horizontal scrolling.

Is this so possible?OrImaymiss something?


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>