StimpyCat Posted November 23, 2007 Share Posted November 23, 2007 I have a report which has multiple groups in it. Each group has a different groupExpression. I have found that if group 1 fires, groups 2 and 3 will also fire and in turn if group 2 fires (not group 1), group 3 will fire (They are all in sequence in the jrxml). It appears that when ever a group fires, the groups following do not have their groupExpression evaluated. Has any one else seen this? Link to comment Share on other sites More sharing options...
lucianc Posted November 23, 2007 Share Posted November 23, 2007 This is by design. Report groups are hierarchical, and when a group breaks all the groups underneath it also break. Regards,Lucian Link to comment Share on other sites More sharing options...
StimpyCat Posted November 26, 2007 Author Share Posted November 26, 2007 Hmmm, is there any way to get around this? Seems strange to have an expression for each group, yet to ignore it. Link to comment Share on other sites More sharing options...
nitin403 Posted November 26, 2007 Share Posted November 26, 2007 Hi, luciancThis post is making me confused. Can u explain this with an small example.what does "when a group breaks all the groups underneath it also break" means. Thanks for your help in advance. Link to comment Share on other sites More sharing options...
nitin403 Posted November 26, 2007 Share Posted November 26, 2007 Hi, luciancThis post is making me confused. Can u explain this with an small example.what does "when a group breaks all the groups underneath it also break" means. Thanks for your help in advance. Link to comment Share on other sites More sharing options...
lucianc Posted November 27, 2007 Share Posted November 27, 2007 StimpyCat wrote:Hmmm, is there any way to get around this? Seems strange to have an expression for each group, yet to ignore it. Report groups are hierarchical by nature and there's no way to go around this. If you explain what you're trying to achieve, maybe someone would come up with an alternative solution. Also, you can post a feature request if you think JR should improve the way it handles groups. Regards,Lucian Link to comment Share on other sites More sharing options...
lucianc Posted November 27, 2007 Share Posted November 27, 2007 nitin403 wrote:Hi, luciancThis post is making me confused.Can u explain this with an small example.what does "when a group breaks all the groups underneath it also break" means.Thanks for your help in advance. Small example: Let's say we have the following data source:Code:f1 | f2 | f3------------1 | 1 | 11 | 1 | 22 | 1 | 3 If you create two groups in your report, the first grouping by f1 and the second by f2, you will get the following outputCode:[code]f1 group header f2 group header detail #1 detail #2 f2 group footerf1 group footerf1 group header f2 group header detail #3 f2 group footerf1 group footer HTH,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now