hi,
I have a report to show Group, faultName, val1, val2, val3.
created a cross tab grouping by 'Group' & 'faultName' so that it shows the
total for each and every 'group' and Grand total at the end.
I have a requirement, to order the data by Group, Val1 (0r) Group, Val2.
Defined the comparatorExpression on faultNamegroup to order the data by
val1.
But, the data rendered is ordered by Group & faultName(asc). While order'g
by faultName it is supposed to consider the comparatorExpression I defined.
which is not happen'g now. 

<rowGroup name="faultName" width="100" totalPosition="End">
<bucket>
   <bucketExpression
class="java.lang.String">![CDATA[$F{faultName}]]></bucketExpression>
   <comparatorExpression><![CDATA[$F{val1}]]></comparatorExpression>
</bucket>

Did I miss something??

thx in advance
-- 
View this message in context: 
http://www.nabble.com/Cross-Tab-Order-by-issues-tp18362480p18362480.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to