1. Gibi Varkey
  2. PowerBuilder
  3. Tuesday, 9 August 2022 09:36 AM UTC

Appeon PowerBuilder 2021 - Data window Style - Grid.

I have check box ( computed column name - confirm ) data value on 1 , off 0. 

There are multiple rows (data) during runtime in this data window. by clicking header text (confirm)  all below rows ,  check box field should become ticked (selected) , if again clicked it will become unticked(un selected). but in this grid style, not able to see as ticked instead background of the field become black. If i change grid style to tabular , it is working perfectly fine. Can any one help please?


Attachments (1)
René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 9 August 2022 11:17 AM UTC
  2. PowerBuilder
  3. # 1

If you disable "Column Moving" and "Mouse Selection" properties of the grid datawindow you will not have this black selections.

But you will loose this features. :-(

There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 9 August 2022 13:39 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Gibi -

We use a similar feature in several grid DataWindows, but we instead place "checked" and "unchecked" checkboxes above the DataWindow control over the column(s):

I believe if you just disable the "Mouse Selection" setting in the DataWindow object, the black highlighting will no longer appear, except while the left mouse button is down when clicking on the column heading. You can also change this setting in code (look at Help topic Selected.Mouse).

Best regards, John

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.