2006 Oct 17 8:58 PM
Hi Folks!
Is it possible to freeze columns in a table control? If it is possible how you can achieve it?
Thanks for any help.
Regards,
Gilberto Li
2006 Oct 17 9:12 PM
Hi,
You want to disable all the fields in the table control? right??
Do this..
LOOP AT SCREEN.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDLOOP.
Note: The above code should be with in the loop at ..endloop of PBO..
This will disable all the fields in the table control.
Thanks,
Naren
2006 Oct 17 9:12 PM
Hi,
You want to disable all the fields in the table control? right??
Do this..
LOOP AT SCREEN.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDLOOP.
Note: The above code should be with in the loop at ..endloop of PBO..
This will disable all the fields in the table control.
Thanks,
Naren
2006 Oct 17 9:29 PM
If you want to freeze columns in a table control, meaning you want to keep the first two columns visible when scrolling to the right, then you can set this in the table control administrator. Run the program, click on the icon which is in the upper top right hand corner of the table control. You will get a dialog, the is the table control admin area. Now click on the "Administrator" button, in this dialog, at the bottom in the "Further Settings" tray, there is a field for number of fixed columns, set it to two, activate and close. Now you can see that the first two columns will always be visiable when scrolling to the right.
Regards,
Rich Heilman
2006 Oct 17 9:31 PM
hi,
This should solve your problem
This should in PBO
controls cnt_acct type tableview using screen 9989.
DATA W_cnt_acct LIKE LINE OF cnt_acct-COLS.
loop at cnt_acct-cols into w_cnt_acct.
w_cnt_acct-SCREEN-INPUT = '0'.
modify cnt_acct-cols from w_cnt_acct.
endloop.
THANKS
VENKI
2006 Oct 17 9:32 PM
hi,
This should solve your problem
This should in PBO
controls cnt_acct type tableview using screen 9989.
DATA W_cnt_acct LIKE LINE OF cnt_acct-COLS.
loop at cnt_acct-cols into w_cnt_acct.
w_cnt_acct-SCREEN-INPUT = '0'.
modify cnt_acct-cols from w_cnt_acct.
endloop.
THANKS
VENKI