Discussion:
Grouping - suppress repeating values
(too old to reply)
unknown
2003-07-21 20:27:13 UTC
Permalink
I think the fix may be in CR 288264, but I'm not sure how to tell if that
fix has been done and released (see below):

***************************************************************

Problem Description:
PowerBuilder 6.5, 7.0.3 and 8: DataWindows with groups do not behave
properly when scrolling. When it scrolls a line appears randomly inside. A
gray bar appears in the middle of screen and display of the group header
repeats.
Key Words: --Select the Keywords -- Datawindow Group

Tip or Workaround:
The gray line in dw with groups is a feature that was added in PowerBuilder
6.0 with virtual scrolling. The gray line was introduced to indicate where
the fixed page boundaries are, and that's why the headers were displayed
again. In PowerBuilder 7.0.3 build 10140 & higher and PowerBuilder 8.0.1
build 9048 & higher, you can hide this gray line at run time with the
following:

dw_1.Modify("DataWindow.HideGrayline='Yes'") or
dw_1.object.DataWindow.HideGrayline='Yes'
or show it with:
dw_1.Modify("DataWindow.HideGrayline='No'") or
dw_1.object.DataWindow.HideGrayline='No'

Resolution:
CR# 288264 opened as an product enhancement to hide repeated group headers.
unknown
2003-07-22 18:31:06 UTC
Permalink
I'm not printing, just scrolling, so every 6 rows, I'm seeing the header
repeated, making the client think there has been a change in the group
header and really it is just because that is the number of rows that can
show at one time. It didn't work that way in PB 5 and they don't want the
extra data. Sounds like it is a "feature" and so I do have to hide the
group band every now and then??
unknown
2003-07-22 18:51:07 UTC
Permalink
Here is all the related info I could find:

CR Number Product Name Product Component Version Fixed Version Description
288264 PB Enterprise DW Display 7.0.3 This is a request to introduce a new
datawindow modify function to inhibit the repeating of group headers during
virtual scrolling.
313058 PocketBuilder DW - Runtime 2003 V1 Beta The gray line for group
datawindows (see CR 264969, 288264) does not really appear to be related to
a page in Pocket PB. It appears to show up somewhat randomly. I assume this
is related to the shift from PC to WinCE. Should hidegrayline be true by
default for Pocket PB?

CR Number Product Name Product Component Version Fixed Version Description
264969 PB Enterprise DW Display 8.0.1 7.0.3 When virtual scrolling was
introduced in PB 6.0 there were complaints from customer that the group
headers were repeating when they scrolled with the thumbnail. A gray line
was introduced to indicate to the customers that they had crossed a fixed
page. Customer would like to have the option to disable this gray line. The
repeated group headers cannot be removed and they would need to understand
that. Submitted to development for scoping of including an option to
disable the gray line. Update from Engineering: For PB 9.0, a new UI
datawindow attribute has been introduced to control this. FOR PB 7.0.3
build 10140 and PB 8.0.1 build 9048 and above, users need to use a new
undocumented dot notation to eliminate the gray line: To disable the gray
line add this line of code "dw_1.object.datawindow.hidegrayline=true"
usually at the end of the code for the window open event.
313058 PocketBuilder DW - Runtime 2003 V1 Beta The gray line for group
datawindows (see CR 264969, 288264) does not really appear to be related to
a page in Pocket PB. It appears to show up somewhat randomly. I assume this
is related to the shift from PC to WinCE. Should hidegrayline be true by
default for Pocket PB?
unknown
2003-07-23 17:30:13 UTC
Permalink
Yes - Phillip is right - it's expected behaviour... not a bug.

Loading...