cancel
Showing results for 
Search instead for 
Did you mean: 

Disable resizing of columns in ALV grid after layout is fixed

Former Member
0 Kudos

Hello Experts!

I needed to decrease size of some of my columns so I used set_fixed_table_layout( abap_true ).

This worked fine, but when I scroll on the column header , I get a possibility to resize columns by changing the width of culumns at run-time.

Is it possible to disable this functionality?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Columns in ALV have a minimum width , which is to big for me. To make columns smaller I fix the layout.

The problem is, when someone tries to resize a column , minimal widths gets reset and fixed to minimal width of ALV table.

Former Member
0 Kudos

Fixed table layout is a nice way of handling sizing if you wish to eliminate horizontal scrolling. If you want to have specific widths, and disallow re-sizing, why use fixed table layout? Maybe set the columns widths manually in the code.