Jump to content
Changes to the Jaspersoft community edition download ×

Help about HTML size (exporter)


thiagot

Recommended Posts

Hi guys,

 

Im working with JasperReports using iReports 1.2.4.

My project demands a Web application that will show HTML reports generated by JasperReports.

 

Its all working, the crosstabs and such, but I have one problem.

 

These reports aren't destinated for printing, just to show on screen. The thing is that Im using crosstab on all of em, and I will never know the size of the crosstab cos it depends on the size of the search the user will request on the data base.

 

Then, when the search is huge, the column number is huge too, and the crosstab splits into a lot cos its limited by the report width that carries into exported html width. That has an ugly effect and its not accepted by our client. If the search is huge, we need a HTML that will fit it, no mather the size, and the scrollbar will do the job.

 

Does anyone knows how to solve this? Is there any parameter I can set on the JRHtmlExporter class?

 

Thanks a lot!

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

I guess we could do something about it, but it would require some work.

We could have a built-in parameter to signal the rendering engine that it should ignore the page width, just like we have the IS_IGNORE_PAGINATION for ignoring page height.

Then, the HTML exporter should also have a similar parameter so that it ignores page width and renders all the elements on a page, even if they go beyond the right margin.

 

If you think you need this, you could post a request for enhancement and we'll see when we'll be able to take care of it given our current priorities. Or, you could even try to come up with a patch.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

Hi Teodord,

 

I was talking with my boss and we really need this for our project, We need to generate HTMLs without fixed width :(

 

I really need this badly, so, how can I post a request for enchancement about this?

 

Thanks a lot!

Thiago

Link to comment
Share on other sites

  • 11 months later...

Hi Teodor,

 

Have you added the ability ignore the page width when exporting to HTML. I saw that this reply was from 1 year ago. One of the developers at my company is having this issue. The PDF looks great. but the html export only spans 50% of the browser in internet explorer 7.x

 

Regards,

 

Tim

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...