Application Development 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: 

Table Control - Input Enabling/Diabling of Rows based on Condition.

Former Member
0 Kudos

Hi,

In the TC, I want to Input Enable/Disable the rows based on Conditions. The First row is input enabled always. But the other rows, (2nd onwards) need to be Input Enabled/Disabled based on some conditions. It is possible to make this working. Can you please provide me a suitable solution for this?

Appreciate Your Help.

Thanks,

Kannan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Kannan...

If we are talking about "Rows"...

then identify based on some conditions the row numbers and in PBO...loop at screen with screen name..set thier input properties and modify screen (make them input only)

If we are taking into consideration "columns"

There is an internal structure COLS where we can identify column number of screen name ...or we can take except for one particular column..

if some condition satisfied....

loop at screen where screen-name <> "Column which is input'.

Loop at screen...and make other columns display only.

modify screen

endif.

Regards

Byju

2 REPLIES 2

Former Member
0 Kudos

Please take a look at the explanation I just put in

i.e. do your "loop at screen" inside you "loop at table control" during PBO.

Jonathan

Former Member
0 Kudos

Hi Kannan...

If we are talking about "Rows"...

then identify based on some conditions the row numbers and in PBO...loop at screen with screen name..set thier input properties and modify screen (make them input only)

If we are taking into consideration "columns"

There is an internal structure COLS where we can identify column number of screen name ...or we can take except for one particular column..

if some condition satisfied....

loop at screen where screen-name <> "Column which is input'.

Loop at screen...and make other columns display only.

modify screen

endif.

Regards

Byju