1. Naveen M R
  2. PowerBuilder
  3. Friday, 05 July 2019

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!

Who is viewing this page
Chris Pollach Accepted Answer Pending Moderation
1
Votes
Undo

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.
  1. Tuesday, 16 July 2019
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Naveen;

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

Regards ... Chris

Comment
Hello Chris, I am not talking about themes feature in PB2019. We are working in PB2017.
  1. Naveen M R
  2. Tuesday, 9 July 2019
There are no comments made yet.
  1. Friday, 5 July 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


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