cancel
Showing results for 
Search instead for 
Did you mean: 

Column Dynamic Table ( non ALV) visible<->non visible

Carola1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Using the dynmic table creation and I want to set some columns to invisible per default per

ls_column->set_visible( 01 ).

But I want that the user can make this column visible, if necessary.

In ALV a user can use the standard personalization function to set the invisible columns to visible.

How can I do this with a normal table ?

lo_table TYPE REF TO cl_wd_table,

Thanks and regards,

Carola

Accepted Solutions (1)

Accepted Solutions (1)

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

You should bind your visibility property to your context, then you will be able to provide a personalization view to your user.

Regards,

Joseph BERTHE

Answers (1)

Answers (1)

Carola1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello.

Finally I realized a context menu item to

visualize/hide the column.

If a column is set to not visible it's no more available in the personalization list.

Kind regards

Carola