on 11-26-2009 12:29 PM
Hi All,
In my application, I have set the width of the dynamic columns for ALV.
Once the application loads, the user doesn't want to expand the columns by dragging the column.
Is it possible to freeze this using ALV?
Regards,
Rekha
Hi,
When you provide the layout for ALV as FIXED then you can find this option open for column resizing...
Initially set the layout as not fixed one so that the column sizing is automatically adjusted..ie no explicit size is given..
Later as per your requirement, change the layout as FIXED and provide column widths...
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rekha,
You can try this code
data: l_salv_wd_table type ref to iwci_salv_wd_table.
l_salv_wd_table = wd_this->wd_cpifc_alv( ).
data: l_table type ref to cl_salv_wd_config_table.
l_table = l_salv_wd_table->get_model( ).
l_table->if_salv_wd_table_settings~set_width( '100%' ).
l_table->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.