1. Naveen M R
  2. PowerBuilder
  3. Friday, 5 July 2019 12:06 PM UTC

Hello Everyone,

Seeking for help on the below issue.


Customer reported that datawindow grid lines are not visible when the rows are displaying in more than one page. Actually, grid lines exist, but grid lines color is adjusted automatically to light color by PowerBuilder.

 

Observed that changes in the grid line color is because of the color set in the detail band background color. Following is the expression set in detail band background color to set the white and grey background for the alternate rows –

if(mod(getrow(), 2) = 1, rgb(255,255,255), rgb(240,240,240)).

 

If the color is set to the same background for all the rows as below, then, grid lines are always visible with dark color. With that, we got to know the grid line color is managed internally by PowerBuilder and there is no option to change explicitly.

Expression: rgb(240,240,240)

Does anyone have any idea on how to set the grid line color explicitly? Or any alternative option to make the grid lines always dark.

Appreciate your help on this. Thanks in advance!

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 16 July 2019 15:38 PM UTC
  2. PowerBuilder
  3. # 1

Hi Naveen;

   The grid lines will change colour based on the DWO's background colour that you choose. PB apps do not have control over this at run-time. The DWO part of the PBVM will do that selection outside your control.

    If you would like to see PB App control over the grid line colours, please open a Support Ticket as an enhancement request for control over the grid line settings (size, colour, etc).

Regards ... Chris

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 5 July 2019 15:37 PM UTC
  2. PowerBuilder
  3. # 2

Hi Naveen;

  Are you asking this in light (no pun intended) around the new PB2019 "Themes" feature?

Regards ... Chris

Comment
  1. Naveen M R
  2. Tuesday, 9 July 2019 11:25 AM UTC
Hello Chris, I am not talking about themes feature in PB2019. We are working in PB2017.
  1. Helpful
There are no comments made yet.
Kishorebabu Dantuluri Accepted Answer Pending Moderation
  1. Friday, 13 October 2023 13:45 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris,

 

We have applied PB Theme using PB 2022(Build 1900) and observed that Grid Datawindow header separator grid lines are not visible. Grid DW header separator lines are visible when theme is not applied.

Can you please provide any resolution for the same?

 

Thanks & Regards

Kishore

 

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 13 October 2023 16:17 PM UTC
Hi Kishore;

That sounds like a possible PB runtime issue. Please open a support ticket for this.

In the meantime though, you might want to change the theme's grid line settings to see if that helps. For example:

"grid-line":

{

"horizontal-line":true,

"vertical-line":true,

"line-color":"#030104"

},

HTH

Regards ... Chris
  1. Helpful
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.