Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By imjava74
Dear All,
I am able to output grid from dynaform to pdf but face 2 problems.
1) Do you know how to generate row number in each row ?
2) The table generated in pdf always come with a empty row. Do you know how to remove that empty row?
Appreciate if anyone could offer help. Thanks.
Code: Select all
<table align="center" border="1" style="height: 132px; width: 270mm;"><caption></caption>
<tr align="center">
<td align="center" style="width: 15mm;"><font size="2"><b>No</b></font></td>
<td align="left" style="width: 50mm;"><font size="2"><b>Item</b></font></td>
<td align="left" style="width: 50mm;"><font size="2"><b>Description</b></font></td>
<td align="center" style="width: 20mm;"><font size="2"><b>Qty</b></font></td>
<td align="center" style="width: 20mm;"><font size="2"><b>Price</b></font></td>
<td align="center" style="width: 20mm;"><font size="2"><b>Tax</b></font></td>
<td align="center" style="width: 25mm;"><font size="2"><b>Amount</b></font></td>
<td align="left" style="width: 70mm;"><font size="2"><b>Remark</b></font></td>
<td align="left" style="width: 15mm;"><font size="2"><span>@#item_name</span></font></td>
<td align="left" style="width: 50mm;"><font size="2"><span>@#item_name</span></font></td>
<td align="left" style="width: 50mm;"><font size="2"><span>@#item_desc</span></font></td>
<td align="center" style="width: 20mm;"><font size="2"><span>@#item_quantity</span></font></td>
<td align="center" style="width: 20mm;"><font size="2"><span>@#item_uprice</span></font></td>
<td align="center" style="width: 20mm;"><font size="2"><span>@#item_tax</span></font></td>
<td align="center" style="width: 25mm;"><span><font size="2">@#item_amount</font></span></td>
<td align="left" style="width: 70mm;"><span><font size="2">@#item_remark</font></span></td>
<td align="center" style="width: 15mm;"></td>
<td align="left" style="width: 50mm;"></td>
<td align="left" style="width: 50mm;"></td>
<td align="center" style="width: 20mm;"></td>
<td align="center" style="width: 20mm;"><font size="2"><b>TOTAL :</b></font></td>
<td align="center" style="width: 20mm;"></td>
<td align="center" style="width: 25mm;"><font size="2">@#pr_amount</font></td>
<td align="left" style="width: 70mm;"></td>
pdf grid.gif
pdf grid.gif (16.42 KiB) Viewed 626 times
ScreenHunter_03 Oct. 04 15.12.gif
ScreenHunter_03 Oct. 04 15.12.gif (12.58 KiB) Viewed 626 times
mysqli_free_result() error

Hello good afternoon I am having the same problem[…]


Hi, This user API[…]

display pdf in panel control

Is there any solution?