Hey all quick question I have a report that has a group by but i need it to sort ascending. The .net data table that im loading in is sorted how i want it, but the stimulsoft engine must render it how it wants because when the report displays the order is all messed up. Im sure there is property to tell the groupby how to sort but im not sure what it is. Heres the code that sets the condition , where can i add the ASC or DESC and what does the syntax look like. Thanks !
GroupHeaderBand.Condition = new StiGroupConditionExpression("{" + sGroupByField + "}");
looking through the manual it states:
It is necessary to have the Data band because data rows are output with use of this band. And these data rows are the base of grouping. Also you may specify the sorting of rows in the Data band. The data sorting has effect on order of grouping rendering.
how do i specify this?
how to get your Group By to sort ASC or DESC
how to get your Group By to sort ASC or DESC
Hello,
This grouping can be implemented, if to set the GroupHeader Sort Direction to None. In this case, the report will be grouped depending on sorting in the DataBand.
Thank you.
This grouping can be implemented, if to set the GroupHeader Sort Direction to None. In this case, the report will be grouped depending on sorting in the DataBand.
Thank you.
how to get your Group By to sort ASC or DESC
great that worked !!! Thanks a bunch !
how to get your Group By to sort ASC or DESC
Hello,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.