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

Table control freeze columns

Former Member
0 Likes
2,916

Hello All,

I am displaying my internal table in a table control. Here I want to make first 2 columns freezzed i.e. when user scroll horizontal these 2 columns should not move.

How to do this?

Regards,

Dilip

1 ACCEPTED SOLUTION
Read only

Former Member
1,577

Hi Dilip,

To freeze columns do the below.

In layout editor table control atrributes you can see

Fixed columns field will be there give 2 there.

It will freeze first 2 columns.

Thanks&Regards,

Siri.

Message was edited by: Srilatha T

4 REPLIES 4
Read only

Former Member
0 Likes
1,577

Check this program.

demo_dynpro_tabcont_loop

Rewards point if it solves ur problem

Read only

Former Member
0 Likes
1,577

Hi,


Freezing to Columns



Select the column to which you want to freeze the table by klicking on the column header.
Choose Settings ® Columns ® Freeze to Column. The columns of the table are frozen from the left to the column selected.

Unfreezing Columns

If the table was frozen to a non-lead column, you can undo this by choosing Settings ® Columns ® Unfreeze Columns.

Regards,

Sakthi.

Read only

Former Member
1,578

Hi Dilip,

To freeze columns do the below.

In layout editor table control atrributes you can see

Fixed columns field will be there give 2 there.

It will freeze first 2 columns.

Thanks&Regards,

Siri.

Message was edited by: Srilatha T

Read only

Former Member
0 Likes
1,577

Hi Diliip,

In a column tree, the user can swap the positions of columns using the mouse. Use this method to disable and enable this feature.

CALL METHOD column_model->set_column_order_frozen

EXPORTING frozen = frozen.

<b>set_column_order_frozen</b>

This should help u,

Regards,

Nagarajan.