Skip to Content
0
Former Member
Feb 13, 2009 at 02:26 PM

Assign a column in a particular position in table control using prog.(PBO)

444 Views

Hi,

There is already a Table control present with certain columns. The requirement is to add a new column,displaying data, in the 2nd position.

Using screen painter, I added this new column in the second position.When I ran the desired program, i see this new column with correct data getting displayed in it.

But the problem is that this new column is not getting displayed in the 2nd position. Its getting displayed in the 2nd last position. And the column which was getting displayed in the last column before i added this new column, now its getting displayed in the first column after adding this new column.

I have tried changing the column numbers of this new column through attributes and also through element list. I also deleted all the columns from this table control and added them back again along with new column in the 2nd position. But no matter what, the new column is not getting displayed in the 2nd position, its getting displayed in the 2nd last column and the last column getting displayed in the first column as before.

Could anyone suggest me as to how do I position this new column in the 2nd position using programming in PBO module (that is dynamically) without changing the order of columns already present, because it is not working through screen painter.

Thanks & Regards!

Umair