Grouping Problem, BUG?

dekoforcedekoforce Germany
edited November 2019 in FastReport .NET

Hi,

I´m using FastReport.NET Version 2017.2.1

When i´m using the Grouping without sorting, my Data is not grouped.

Grouping is only working when i also sorting by something.

Is this a known bug?

Comments

  • Hello,

    You need to set a condition in GroupHeader.

  • Sure! I have the grouping condition set:

    http://downloads.palettenkonto.net/fr_condition.png

  • Problem Solved.

    I forgot to Add Sorting in Databand, it´s working now...

  • stgstg
    edited 2:11PM

    Hello!

    In older versions (such as 2017.2.1), be sure to add a grouping key to the Sort tab of the child DataBand (as you did).

    In newer versions of FastReport .NET, the GroupHeaderBand sets SortOrder = SortOrder.Ascending by default, automatically sorting rows by the Condition key (unless you manually set SortOrder = SortOrder.None).

This discussion has been closed.