Jump to content
We've recently updated our Privacy Statement, available here ×

crosstab - rendering on HTML page takes very long


sunianu

Recommended Posts

I have a crosstab which has 4 pages and there are around 250/300 records for each page.

To show one page - it is taking very long time on HTML where as when I export to PDF, it takes very less time to load all the 4 pages. I dont have any clue to improve the performance.

I noticed that there are all different styles and table tags for each <td> tag separately (I checked from view source of the html page). So I am suspecting that all these extra styles and tags are causing the delay (I am not sure though).

Any one has any clues????? Please share/help!

Any info on this is appreciated.

Thanks, Sunianu.

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

I know. The issue is that crosstable cells are identified as frames, and therefore, the html export wraps the cell content (usually a textbox) in a table tag.

However, the "frames as nested tables" feature is very useful in html reports because the page structure becomes much cleaner, particularly when using crosstabs.

I still think that crosstab cells should never cause JR to create table tags. The solution is to define crosstab cells as something distinct from ordinary user-drawn frames  (that is supposed to generate a table when using the nested tables option).

An extra feature that many users would love, would be to give crosstab cells attributes identifying them as odd or even row/column. That would make a standard feature such as alternating row colors so much easier to implement for end users.

Link to comment
Share on other sites

  • 2 weeks later...

So if I understand correctly, you are proposing that frames that are produced from crosstab cells should never be rendered as nested tables in HTML.  This makes sense, please log it as a feature request.

Regarding alternate colors, there is a simple solution for that.  See the demo/samples/crosstabs sample reports shipped with JR.

Regards,

Lucian

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...