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

Title at runtime for table control columns

Former Member
0 Likes
486

Hi gurus,

I want to populate the title of the columns of the table control at runtime.

I have horizontal scrolling on, so putting up input boxes as 'output only' and populating at runtime will be difficult.

Can the texts for these labels be set at runtime?

Any suggestions?

Thanks and Regards

Muhammad Ali Mahmood

1 ACCEPTED SOLUTION
Read only

former_member196299
Active Contributor
0 Likes
445

hi ,

no need to set the title of the fields at runtime. this will be automatically set when your tab con area displays less number of fields when more are there.

Regards,

Ranjita

3 REPLIES 3
Read only

former_member196299
Active Contributor
0 Likes
446

hi ,

no need to set the title of the fields at runtime. this will be automatically set when your tab con area displays less number of fields when more are there.

Regards,

Ranjita

Read only

0 Likes
445

Hi Ranjit,

Please elaborate. I have two column in itab and table control p1, p2.

One thing i can do is set the title for p1 as 'title 1' and p2 as 'title 2' and at runtime hide the column i dont want.

Otherwise, if at runtime I need one column i just set the title for that column as 'title 1' or 'title 2'.

Know what I mean? Anyway to achieve this??

Thanks

Read only

0 Likes
445

hey thats easy man.

delete ur column headings first and then replace the column headings with input/output fields.declare the variables of the IO fields in your TOP inculde.Now you can change the variables in the PBO event.

Tried and tested,so please reward points.

Thanks

Babar