Consultor Eletrônico



Kbase P176914: If an UltraGrid is set to ShowEmptyRows and AllowFiltering, and all of the grid rows are filtered ou
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/11/2010
Status: Unverified

SYMPTOM(s):

If an UltraGrid is set to ShowEmptyRows and AllowFiltering, and all of the grid rows are filtered out, the top row in the grid does not appear like the other empty rows.

Top row is same color as UltraGrid BackColor.

No borders between columns or between top row and the next empty row.

FACT(s) (Environment):

UltraGrid:DisplayLayout:EmptyRowSettings:ShowEmptyRow is set to True.
UltraGrid:DisplayLayout:Override:AllowRowFiltering is set to True .
UltraGrid:DisplayLayout:Override:FilterUIType is set to Default or HeaderIcons .
All data rows are filtered out, so that only empty rows are displayed
Windows
OpenEdge 10.2B

CAUSE:

Bug# OE00202063

CAUSE:

A blank space (not a real row or a true "empty row") appears between the column headers and the first true empty row. This blank space shows the BackColor of the UltraGrid.

FIX:

None at this time. The following are possible workarounds, depending on application requirements:

Use FilterRow instead of HeaderIcons to provide filtering. To accomplish this, set UltraGrid:DisplayLayout:Override:FilterUIType to FilterRow.
Make the blank space less noticeable by setting UltraGrid:DisplayLayout:Appearance:BackColor to match UltraGrid:DisplayLayout:EmptyRowSettings:BackColor. This is not a perfect workaround because there is no row border or column borders on the blank space, This gives the impression that the top row is double wide. However, the blank space is much still much less obvious if it the same color as the true empty rows.