darwin_chow Posted October 11, 2010 Share Posted October 11, 2010 Hi all,Anyone know how to create vertical line in detail band using iReport? I want this vertical line connecting the header band to footer band. I tried to use a Line from pallete but the line cannot reach the footer band.Anyone can help me, please.. Link to comment Share on other sites More sharing options...
roarf Posted October 11, 2010 Share Posted October 11, 2010 What about creating a partial line in each band? Link to comment Share on other sites More sharing options...
darwin_chow Posted October 12, 2010 Author Share Posted October 12, 2010 I want this line just in detail band. I want create the report has page footer that contain summary of data in detail band. if the data in detail band is not full, the line in is not reach the footer. Can the line in jasperreport to overflow across a band? Link to comment Share on other sites More sharing options...
doktor_j Posted October 12, 2010 Share Posted October 12, 2010 This one I think I can help with.First ... does the summary have to be in the page footer? Or at the end of a group? You could put the vertical lines & summary in the group footer instead of page footer, and things should line up fine (even if you add a "fake" group that doesn't really group on anything).If you really want the summary in the page footer, you can set the page column footer to float (with iReport, it's in the report properties, "Float column footer"; in jrxml, set "isFloatColumnFooter" to true). By setting this, the page footer will float up to the bottom of the detail rows and should nestle nicely against the last detail row (or, if you have a group footer, against the group footer).dr_j Link to comment Share on other sites More sharing options...
darwin_chow Posted October 13, 2010 Author Share Posted October 13, 2010 I need to the summary in page footer. I try your trick, but that still not solve the problem. This is my screenshot of my report. Link to comment Share on other sites More sharing options...
doktor_j Posted October 15, 2010 Share Posted October 15, 2010 Did you put the summary information in the column footer (not page footer)? Doing that, and floating the column footer, might work -- unless you want a summary on the end of each page. I don't think you can float the page footer. Link to comment Share on other sites More sharing options...
darwin_chow Posted October 18, 2010 Author Share Posted October 18, 2010 I want a summary on the end of each page. Probably, this feature not available in jasperreport. Now, I think that to solve this problem with manipulate my java source code, not in the report. Link to comment Share on other sites More sharing options...
mrpatch Posted October 22, 2010 Share Posted October 22, 2010 Create a style with borders on it then apply that style to your fields; you'll save yourself a whole lot of unnecessary pain. Also, set the "split type" on your footer to stretch if you want to connect it to the foot of your repeating detail sections. Link to comment Share on other sites More sharing options...
shazinfy Posted October 27, 2010 Share Posted October 27, 2010 darwin_chow, i can help if you can provide following details.1. iReport version.2. report jrxml file.3. an xml file with data which i can use as a datasource for generating the report at my end. Link to comment Share on other sites More sharing options...
darwin_chow Posted October 28, 2010 Author Share Posted October 28, 2010 Hi Shazinfy,I use iReport version 3.0.0 and i have try to use version 3.7.5 but I still can't found the new feature in jasper to solve my problem. can you give me the example one report that has just one data in detail band and it has line from the top detail band to the top on page footer band. Sorry, I can't provide the sample data because I don't have xml file with data (I never try to use xml as datasorce). I use the mysql database as my datasource. Link to comment Share on other sites More sharing options...
shazinfy Posted November 3, 2010 Share Posted November 3, 2010 I tried, but it looks like a challenging one. One way could be omitting the details band and trying subreport. Just a guess! Or as you mentioned earlier you may have to handle this scenario in your java code. Link to comment Share on other sites More sharing options...
sergiu Posted January 10, 2011 Share Posted January 10, 2011 Hello, I have the same problem, a few years ago i had same problem and i quit to jasper. Now i`m back on jasper and i need this vertical lines.... Did you find a solution ? Link to comment Share on other sites More sharing options...
teodord Posted January 10, 2011 Share Posted January 10, 2011 Hi, I think the problem can be summarized like this:How to draw vertical lines in lower part of the page where there are no detail records? There is one solution that might work in some cases. If all pages of the document have the same tabular structure, with the same page footer, then maybe all these lines can be all drawn in the background section of the report.Doing so, your report would work just like when you print something on a pre-printed template, that has all the wireframes drawn in advance and you only fill-in the variable data. I hope this helps.Teodor 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