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

Change Table control Column Header text dynamically

Former Member
0 Likes
2,707

Hi,

I have an requirement to change table control column header text dynamically.

i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.

I had looked into the below link but could not get exactly how to do it.

Could you please tell me how to do that.

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,087

Hi Saba,

What you will need to do is this.....

1. First replace the column Header Text box by I/O Fields and name them accordingly.

Say for example we will consider the same example which i had explained in the link.

there in the column header we want the header to change when some dates and entered into two fields which are out of table control say

Start Date: 01.01.2010 to End Date: 06.01.2010

Now we want the header to look like this,

Column No. - 1 2 3 4 5 6

Header label - 01/FRI 02/SAT 03/SUN 04/MON 05/TUE 06/WED

Header name - SPOTS1 SPOTS2 SPOTS3 SPOTS4 SPOTS5 SPOTS6

then you go as per the instructions in the link......

Let me know if you need further help,

Hope this solves your problem....

Regards,

Abhijit G. Borkar

1 REPLY 1
Read only

Former Member
0 Likes
1,088

Hi Saba,

What you will need to do is this.....

1. First replace the column Header Text box by I/O Fields and name them accordingly.

Say for example we will consider the same example which i had explained in the link.

there in the column header we want the header to change when some dates and entered into two fields which are out of table control say

Start Date: 01.01.2010 to End Date: 06.01.2010

Now we want the header to look like this,

Column No. - 1 2 3 4 5 6

Header label - 01/FRI 02/SAT 03/SUN 04/MON 05/TUE 06/WED

Header name - SPOTS1 SPOTS2 SPOTS3 SPOTS4 SPOTS5 SPOTS6

then you go as per the instructions in the link......

Let me know if you need further help,

Hope this solves your problem....

Regards,

Abhijit G. Borkar