Application Development and Automation 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: 
Read only

ALV Collapse/Expand - Cell width changes

Former Member
0 Likes
954

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
Read only

Former Member
0 Likes
858

are you using Hierarchy ALV or ALV tree..?

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

5 REPLIES 5
Read only

Former Member
0 Likes
859

are you using Hierarchy ALV or ALV tree..?

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

Read only

0 Likes
858

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

Read only

0 Likes
858

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

Read only

0 Likes
858

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

Read only

0 Likes
858

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...