Page 1 of 1

Sorting Problem With Grouping

Posted: Sun Mar 31, 2013 1:23 pm
by spnvelvet
Dear Sir,

When I create a group, the data shown is no longer in the order in which it is retrieved.

I am using latest pre-release build.

Re: Sorting Problem With Grouping

Posted: Mon Apr 01, 2013 8:00 am
by Alex K.
Hello,

Please try to set the SortDirection property for GroupHeader component to None.

Thank you.

Sorting Problem With Grouping

Posted: Mon Apr 01, 2013 10:30 pm
by spnvelvet
Dear Sir,

I have set sorting for group to None. And data is showing now in the same order in which it is fetched.

But this behaviour is weird.

Is this a bug?

Re: Sorting Problem With Grouping

Posted: Tue Apr 02, 2013 6:42 am
by HighAley
Hello.
spnvelvet wrote:I have set sorting for group to None. And data is showing now in the same order in which it is fetched.

But this behaviour is weird.

Is this a bug?
No, it's not a bug. It's a usual behaviour of the Group Header band. Because it can't group data band right without sorting on group field.

Thank you.

Re: Sorting Problem With Grouping

Posted: Tue Apr 02, 2013 7:02 am
by Alex K.
Hello,

No, it is not a bug. When you set the grouping then, according to the logic, it should sort all the data by that column, by which sorting is set, for the correct group. If you remove the sort for GroupHeader, the data will be displayed in order in which they are got, and the group would "torn".

Thank you.

Sorting Problem With Grouping

Posted: Thu Apr 18, 2013 1:50 am
by spnvelvet
Dear Sir,

It means that after grouping, we have to perform sorting again using "Sort" options of Data Band.

Re: Sorting Problem With Grouping

Posted: Thu Apr 18, 2013 8:15 am
by HighAley
Hello.
spnvelvet wrote:It means that after grouping, we have to perform sorting again using "Sort" options of Data Band.
You should do so to sort data in each group.

Thank you.