Skip to Content
0
Sep 25, 2014 at 11:24 AM

ALV - auto width on data_changed

134 Views

Hi experts,

I have an ALV, created with class CL_GUI_ALV_GRID.

In this ALV, I have a few input fields.

Now I want to "auto-resive" the cell width after maintaining data.

For example - I have column material number.

When I enter a material here, next colum "Material text" will be filled (using "Data_changed").

Now this column material text should be auto resized.

How to do that? I have tried to set cwidth_opt to X for the layout, but it's not working.

Any ideas?

Thanks

Michael