Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Collapse/Expand - Cell width changes

Former Member
0 Kudos

Hello,

I have a ALV with the Collapse/Expand Button.

When I Click on collapse and then on Expand the row layout changes: the widths of the cells are much larger then before collapsing.

Can somebody give me a hint on how to prevent this layout change?

thanks a lot

luchticha

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

are you using Hierarchy ALV or ALV tree..?

After clicking on expand/collpase are you doing any action..?

5 REPLIES 5

former_member188685
Active Contributor
0 Kudos

are you using Hierarchy ALV or ALV tree..?

After clicking on expand/collpase are you doing any action..?

0 Kudos

there are 3 alvs in a docking container. The alvs are of type alv_grid - so no hierarchy or tree.

I am not doing any action after clicking on the button.

luchticha

0 Kudos

Then where you have the Buttons Collapse/Expand , Just give some background of your report and what it does.

0 Kudos

it is in the toolbar of the alv the first button next to Detail, Remove, Insert button.

So I have 3 alvs in a row (vertically) and when I click on one of this collaps buttons the alv disapears less its toolbar which is still visible.

When I then click again on the button also the rows are visible but the width of the cells are changed.

hope I was clear enouth

0 Kudos

I also find out that this problem occurs only when the entire row can not be display on the screen ( so there is a vertical scroller)....

seams to be tricky...