Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26760

    nested table does not give correct pdf .Pl help

    see the attached file when i convert it to pdf last cells are not appearing

    <html>
    
    
    <body>
    
    <table width="60%" border="1" cellspacing="0" cellpadding="0">
    
    <tr>
    
    <td>Inv_No</td>
    
    <td>address</td>
    
    <td>catecode</td>
    
    <td>ServiceNo</td>
    
    <td>Month</td>
    
    <td>Prev_Amt</td>
    
    <td>Late_chrg</td>
    
    <td>Recvd</td>
    
    <td>Adj</td>
    
    <td>CurTot</td>
    
    <td><table border="1" width="200"><tr><td width="20%">Fixed Charge Internationl Roaming:06-01-2012:31-01-2012</td><td width="20%">Fixed Charge Internationl Roaming:03-01-2012:05-01-2012</td><td width="20%">Fixed Charge Internationl Roaming:01-01-2012:02-01-2012</td></tr></table></td>
    
    <td><table border="1" width="200"><tr><td>Local Charges</td><td>STD Charges</td><td>SMS Charges</td></tr></table></td>
    
    <td><table border="1" width="50"><tr><td>Discount</td></tr></table></td>
    
    <td>Payable</td>
    
    </tr>
    
    <tr>
    
    <td>100138440102</td>
    
    <td>DelhiDLIND110016</td>
    
    <td>Individual</td>
    
    <td>919868 : Dolphin Saathi : 29-Dec-11</td>
    
    <td>Jan,12</td>
    
    <td>1648.00</td>
    
    <td>10.00</td>
    
    <td>3296.00</td>
    
    <td>0.00</td>
    
    <td>377.00</td>
    
    <td><table border="1" width="200" ><tr><td width="20%">75.48</td><td width="20%">8.71</td><td width="20%">5.81</td></tr></table></td>
    
    <td><table border="1"  width="200"><tr><td width="20%">246.30</td><td width="20%">5.30</td><td width="20%">0.25</td></tr></table></td>
    
    <td><table border="1" width="50"><tr><td>0.00</td></tr></table></td>
    
    <td>-1271.00</td>
    
    </tr>
    
    
    </table>
    
    
    </body>
    </html>

    #29085

    I guess under “last cells are not appearing” you mean the table is cut right side.

    If so, you’d only need to increase htmlWidth conversion parameter. I’ve attached PDF result with htmlWidth=1700

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.