You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Not able to give style for PDF .

Summary:

Hi guys

I'm successfully generating a pdf now but the issue now is that I'm unable to give any style to the pdf like change the width of the table. Could you please provide me any url or guide me on how I can possibly edit and proceed.

here I'm providing the style in HTML

var ht=

"<html><head><title>LOOSE PART DETAIL</title></head><style> table{width:100%;border:1px solid black;border-collapse:collapse;} td{ border:1px solid black;border-collapse: collapse;}</style><body></br></br></br><h4>WorkOrder Number : "+ Workordernumber +"</br> Description : "+ Description +"</h4><br><br><table><tr><td>S.No</td><td>Part Number </td><td> Description</td><td> BOM Quantity</td><td>UOM</td> <td>User Quantity</td> </tr>";

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!