senthilkrishnan92 Posted April 25, 2019 Share Posted April 25, 2019 I have multiple tables in a report. When a table stretches to next page,a sentence "to be continued" to be mentioned in the last row of the current page.I don't know how to do this.Surfed a lot and didnt't fine solid stuff on this. Please suggest some ideas to implement it. Link to comment Share on other sites More sharing options...
hozawa Posted April 25, 2019 Share Posted April 25, 2019 This is not possible. You'll need to customize jasperreports library. Link to comment Share on other sites More sharing options...
senthilkrishnan92 Posted April 26, 2019 Author Share Posted April 26, 2019 @hozawa - Thank you for the clarification.Could you please explain more on the solution? If possible help with some sample on the same. Link to comment Share on other sites More sharing options...
C-Box Posted April 26, 2019 Share Posted April 26, 2019 Without a table you could use the default columnfooter band for that purpose, where you just evaluate if the current record count < the total record count. This is what I did in former times for some customers, that also wanted a "hint" on the current page, that some content is wrapped to next page(s). This was working fine... but I never used the table-component for represent the records.Within a table component it's probably (not tried) impossible (without the - sorry, but "quite senseless" - comment by hozawa to modifiy the (open) source-code of JasperReports library! ) Perhaps there is also a way to incrememt a variable that is evaluated for each table-row and you could use it "outside" the table for the default column-footer band and "redesign" a "fake table row" (some borders etc around a textfield) with your static text "to be continued" !??! Just give it a try!hth + regardsC-Box Link to comment Share on other sites More sharing options...
hozawa Posted April 26, 2019 Share Posted April 26, 2019 Sorry, I'm waiting for Teodord to approve pull request to add empty rows to table component. You'll have to wait until that is resolved because it would cause a source conflict otherwise. 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