Group Header Band - Sort by original sequence

Stimulsoft Reports.NET discussion
Post Reply
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Group Header Band - Sort by original sequence

Post by sbd_jeff »

Hi Stimulsoft,
I've been tasked with fixing an issue with sorting that has me perplexed.
I have an xml data source (attached) and a report (also attached) that has two GroupHeaderBands.

The behavior we are getting is that even though Sort Direction is set to "None", the data is not displayed in original sequence order.
On the report I get:
WeighStation
Prolock
ProStock
ToolBox

In XML, the sequence is:
Prostock
ToolBox
WeighStation
ProLock

Is there a way to set the sort for GroupHeaderBand1 so that it is displayed based on the sequence within the XML datasource?

Thanks!
Attachments
Example.zip
Example report
(22.58 KiB) Downloaded 163 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Group Header Band - Sort by original sequence

Post by Alex K. »

Hello,

In this case, you can try to use the master-detail construction instead of a grouping, where "machine" is a master without any additional sorting.

Thank you.
Post Reply