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

Bug with crosstab in html


goompas

Recommended Posts

Hello

I make report with crosstab. In pdf its look fine as in screen

Problem is with html, you can see it in second screen.

I attach report too.

I make textfields fills all zones but it seems that these zones in html have widht and height bigger.

When i view html source i see:

<tr>
  <td style="width: 1pt; height: 1pt;"></td>
  <td style="width: 50pt; height: 1pt;"></td>
  <td style="width: 9pt; height: 1pt;"></td>
  <td style="width: 1pt; height: 1pt;"></td>
  <td style="width: 19pt; height: 1pt;"></td>
  <td style="width: 26pt; height: 1pt;"></td>
  <td style="width: 60pt; height: 1pt;"></td>
<td style="width: 60pt; height: 1pt;"></td>
  <td style="width: 60pt; height: 1pt;"></td>
  <td style="width: 174pt; height: 1pt;"></td>
  <td style="width: 1pt; height: 1pt;"></td>
  <td style="width: 39pt; height: 1pt;"></td>
  <td style="width: 35pt; height: 1pt;"></td>
</tr>

and next after each row

<tr>
  <td style="width: 60pt; height: 1pt;"></td>
</tr>

But what is this? I dont have in report 1pt spaces.


Post Edited by goompas at 06/02/2009 09:43
Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Actually wat happens is we have padding to the crosstab feilds(top,bottom,leftside,rightside) that will result for the overlapping of the feilds ........and in html it shows darks..

 

 

 

So, u select all the crosstab feilds at a time and give the padding only leftside and bottom(dont give top and right side padding) and chek once.........

 

 

Regards

-Ramesh

Link to comment
Share on other sites

This problem appear when i make border on textfields. In ireport show that textfield fill whole region, but in html output its make 2 differetns borders. One from textfield and second from region where textfield is. I remove paddings but nothing changes. In attachment You can see report without borders and paddings(i test too with lef padding 1px). In attachment we see that betwen regions in header are white spaces but textfields in ireport fills whole band.

Link to comment
Share on other sites

Hi,

 

You should be using the border of the crosstab cell, and not the border of the text field inside each cell.

Unfortunately, iR does not yet let us set this border (which can be set by manually editing the JRXML).

It will support it in the new release (it was an oversight).

 

I hope this helps.

Teodor

 

Link to comment
Share on other sites

Thanks, i try this but here is another problem.

I need in one cell 2 textfields and border betwen. As we can see in attachment html3 (in red circle) there is empty space betwen cell border and textfield border. Next textfield dont stretch height cell and i have another empty space (in green circle). Can You help me with this?

Edit

Anyway, i make this work another way.

Thanks for looking at this issue.

I know now that problem is add 1px space betwen textfields and cells in html.



Post Edited by goompas at 06/03/2009 08:53
Link to comment
Share on other sites

  • 1 year later...

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