nittu02 Posted August 9, 2007 Share Posted August 9, 2007 Hi, In my report i have some 20 or so elements arranged in four rows. i have grouped all the elements in each row together so that there are totally four element groups. And i set the stretch property for all these elements to Stretch Relative to Tallest Object. Now, depending upon the element size, the other elements resize themselves so that each row remains the same size, that is the size of the largest element in that row. Here is my Problem. 1) After i save the report and close it and re-open it, i find that the element grouping is messed up, instead of four element groups, there appears to be 8 or 9 groups, with incorrect grouping. this causes the rows to be messed up. 2) If any element streches over to the next page, i noted that the other elements in the row stretch only till the end of the first page. is there anyway i can make them stretch to the next page too? Thanks in advance for any help. Link to comment Share on other sites More sharing options...
nittu02 Posted August 9, 2007 Author Share Posted August 9, 2007 oh. And am using iReport 1.2.2 with jasperreports-1.2.2 Link to comment Share on other sites More sharing options...
nittu02 Posted August 13, 2007 Author Share Posted August 13, 2007 okay, No one?? am still wondering what causes this problem. is it some bug ? Link to comment Share on other sites More sharing options...
codyjasperForge Posted August 14, 2007 Share Posted August 14, 2007 In my report i have some 20 or so elements arranged in four rows. i have grouped all the elements in each row together so that there are totally four element groups. When you say "i have grouped all the elements in each row together...", How exactly are you 'grouping' the elements? Are you creating 'Groups' for each element, or are you simply placing the elements adjacent to each other to form a 'row'? Could you send your source? (.jrxml) It would be more helpful in solving the issue... Link to comment Share on other sites More sharing options...
nittu02 Posted August 14, 2007 Author Share Posted August 14, 2007 I mean, i place the elements next to each other, and i create an element group for these text elements. I attach a sample file in which i use element grouping.[file name=CASEPRINT_GENERAL.jrxml size=55206]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/CASEPRINT_GENERAL.jrxml[/file] Post edited by: nittu02, at: 2007/08/14 07:54 Link to comment Share on other sites More sharing options...
codyjasperForge Posted August 15, 2007 Share Posted August 15, 2007 I'm not sure why you are losing your 'Element Grouping' structure. This could very well be a bug. (i don't know) If any element streches over to the next page, i noted that the other elements in the row stretch only till the end of the first page. is there anyway i can make them stretch to the next page too? Change the stretch type to 'Relative to Band Height'...?It might work.I would also test using the 'Print when Detail Overflows' option enabled/disabled. If all else fails, try moving your elements to other bands and see if you get the same behavior. That's about the best I can come up with. Hope it helps. Link to comment Share on other sites More sharing options...
nittu02 Posted August 20, 2007 Author Share Posted August 20, 2007 yeah, i guessed as much.. could be a bug. And yeah, i had tried moving it around to the other bands as well..Didn't work out. Anyways thanks for the help... 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