I’m looking to find a solution that will ‘freeze’ or fix the title band of an HTML report generated by Jasper Reports 4.*. The table body should be scroll-able while the title always remains on top. Any ideas?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think, you can do this by using CSS. the details band will be in table, make it fixed height and overflow will be scrollable.
In the title band, you will have either static text or text element, there you can put css styles, try to set position = fixed, this will make your title part fixed on the page.
The other way is to use jQuery, check css class/id of your title and you can write jquery to change css position property to position:fixed.