on 02-04-2008 9:48 AM
Hey all,
I would like to display a ALV table from the left to the very right in a window.
What I did
- defined a view with ROOTUIELEMENTCONTAINER -> Flow Layout
- defined a group with Flow Layout - 100% width
- defined a viewcontainerUIElement in this group
Result:
The group is as expected (from the left to the right border)
The ALV-table in the goup is smaller and do not touch the right border
Question:
How can I "force" ALV to use the complete line?
Thanks for helpful hints,
Achim
Hello Achim,
I think you need to explicitly set the width of ALV to 100%
Try using this piece of code
*... get ALV component
DATA:
lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
lr_table type ref to CL_SALV_WD_CONFIG_TABLE.
Note : give your used component of ALV properly here
lr_salv_wd_table = wd_this->wd_cpifc_alv( ).
*... (1) get ConfigurationModel from ALV Component
lr_table = lr_salv_wd_table->get_model( ).
DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
lr_table_settings ?= lr_table .
lr_table_settings->set_width( '100% ' ).
Hope this solves your problem.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi achim....
give the cell design of the view container as lrnopad or padless.... this is the maximum you could do.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.