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 Column width re size Event?

Former Member
0 Kudos

Hi Experts

I've created a report that used a dynamic internal table which I then display by using the cl_salv_table=>factory Method.
With this ALV Grid Output I've also implemented the Top of Page event for my Header details.

Now we get to my problems:

I would like to create a "Double Header" which is not to difficult when using cl_salv_form_layout_grid Class

but my results needs to look like something as follows:

Top of Page                       | Department1  | Department2 |

ALV Grid         |ColA | ColB | C1 | C2 | C3   | C1 | C2 | C3  |

My Problem lies with when the user re sizes the columns, the header(Top of Page) stays the same and does not re size to fit its suited columns below.

Firstly: Is there an event that gets triggered when the user drags the column bigger(wider) / smaller(narrower) or when they double click on the column to auto size it?

Secondly: If such an event exists, how can I get the selected/changed column width to re size the header's grid to fit?

Your help will be greatly appreciated.

Thanks

Vic

2 REPLIES 2

Former Member
0 Kudos

Hi Experts

From the zero Response I guess this is not possible...? It basically comes down to a double header which is possible but I need to dynamically change it.

I'll leave the question open for another day with the hope that someone has tried this before and could maybe give me some input.

Thanks and Regards

Vic

Former Member
0 Kudos

Still no Ideas???