rohitkharat Posted May 1, 2013 Share Posted May 1, 2013 Hello,My report's preview works perfectly fine for pdf, excel and rdf formats. However, strangely, when I preview the report in HTML format, the column header labels disappear.In the image above, you can see that the right side (html preview) shows no column header labels in the browser window.Has anybody ever experienced this strange behaviour in jasper reports. Please let me know any suggestions to fix this issue. Link to comment Share on other sites More sharing options...
Solution Ankur Gupta Posted May 2, 2013 Solution Share Posted May 2, 2013 Hi rohit,Actually I have faced this issue in the spreadsheet case but it might work for you too, what you can do is identify the faulty column header and then check whether it is overlapping the adjoining column headers or not, but if all is fine then you just try and delete that column header and then again you could put a static field and enter the header again , basically re do the header. That might work. Thanks,Ankur Link to comment Share on other sites More sharing options...
rohitkharat Posted May 2, 2013 Author Share Posted May 2, 2013 Thanks Ankur,I figured out the problem and it was something related to overlapping i guess. My column header labels were sticking to a line(seen in the image attached above) that I had placed at the bottom of the column header section. These items were not overlapping as such but there was no gap between them. In other formats, this worked fine but in html somehow this wasnt working. So i left a minute gap between the column headers and the line and the detail section. The report runs fine now! Link to comment Share on other sites More sharing options...
Ankur Gupta Posted May 2, 2013 Share Posted May 2, 2013 Good to hear that ..!! 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