Cla_us Posted September 4, 2008 Share Posted September 4, 2008 I have the same problem, but in excel(JExcelApi). What version of jasperreports and itext do you use?(sorry for my english) Link to comment Share on other sites More sharing options...
forhitesh Posted September 11, 2008 Author Share Posted September 11, 2008 jasper report 2.0.5itext 1.3.1 Link to comment Share on other sites More sharing options...
forhitesh Posted September 11, 2008 Author Share Posted September 11, 2008 Hi Teodord,Can you please reply to it? Link to comment Share on other sites More sharing options...
CaptnTony Posted September 11, 2008 Share Posted September 11, 2008 I would believe that's a normal function of your page settings. It has to do a page break *somewhere* and that is where you've defined it with your margins etc. Now, the issue I'd like to see a solution for is where the section header is printed on the last line of the page w/o any detail rows :) I'd like to see a 'keep with at least one detail row' (or something) checkbox in the group definitions. Because I think it looks tacky, I always notice it on my reports. Likewise, on the footer section, i'd like to see a check box that keeps at least one row of detail with it so I don't get one row of footer on the top of the next page all by it's lonesome. Hope my explanation helps. I think to fix it, you'll want to work on your margins and pagination. Link to comment Share on other sites More sharing options...
C-Box Posted September 12, 2008 Share Posted September 12, 2008 Hiyou must change your layout.Just put your tableheader into the columnheader, that this is also printed at the next page.in the columnfooter you just put the horizontal line to finish the table in the case a pagebreak occurs. If you don't want to have just one row at next page, you should work with a dummygroup where you put your tableheader into groupheader (instead of previous mentioned columnheader) check "PrintHeaderAtEachPage" and use the groupfooter (instead of previous mentioned columnfooter) where you place your horizontal line to finish the table at each page.At this group you could set "MinHeightToStartNewPage" to e.g. 3 lines (assume one line = 15 px so set it to 45 px) and now you should get a pagebreak with the last 3 rows at the last page) hthC-Box Link to comment Share on other sites More sharing options...
forhitesh Posted September 14, 2008 Author Share Posted September 14, 2008 Actually I don't want the table header to be printed on the next page if page break occurs.Only requirement is to show the line to give it a proper table look. Link to comment Share on other sites More sharing options...
C-Box Posted September 15, 2008 Share Posted September 15, 2008 So in this case you should put the limiter lines into columnheader + columnfooter to appear at each page and open/close the table properly hthC-Box 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