1. Géza Bartha
  2. PowerBuilder
  3. Friday, 21 June 2019 07:18 AM UTC

Hi!

Is it possible change replace row and column rule?

The column headers are in left side of DW, and the records are in the columns, the row id or date is on the top of DW.

I Can write an SQL which is translate the value, but the column Edit type (change to checkbox) is not modifiable by row-to-row, only all rows. 

              id1            id2       id3

dbcol1   value11  value12     value13

dbcol2   value21  value22     value23

dbcol3  checkbox31 checkbox32 checkbox33         <-- column edit.type need to change here, but not another rows.

 

How?

 

Bye, Geza

 

 

Accepted Answer
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 21 June 2019 11:35 AM UTC
  2. PowerBuilder
  3. # Permalink

You are using a grid datawindow?

The easiest way I can think is to have two objects for each column. One with style edit and one with style checkbox. Then you would have to handle the condition in which the edit style columns are shown or the checkbox columns.

Andreas.

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.