Enabling/Disabling a row in an external datawindow

can this be done? it seems powerbuilder only has functions for its columns...
choklitteAsked:
Who is Participating?
 
levrConnect With a Mentor Commented:
for this purpose I am using following:

1. add column "col_flag" - it could be not in the display list
2. for rows that need to be protected set col_flag='A'
(it could be done in run time)
3. set condition for protect property as
dw_list.Modify("column.Protect='0~tifcol_flag=~"A~",1,0)'")

This could be done for all columns or some of them.

4. the same way could be set MousePointer, Color etc
0
 
rajeXshCommented:
I dont think that you can disable an entire row.

Try using the protected attribute to conditionally disable all the columns.
0
 
rajeXshCommented:
Its the 'Protect' attribute of the datawindow.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.