Total records count with template enabled

Re: Total records count with template enabled

by Ashwini Borole -
Number of replies: 1

Me too facing same..


Dear Salam,


Please share the sample of template.


Regards,

Ashwini

In reply to Ashwini Borole

Re: Total records count with template enabled

by Federica Marra -

HI Ashwini,


I've found a solution. it is only one of the possible ways to fix the columns but it works for us.



Code is for header:

<table style="table-layout: fixed; width: 100%; font-size: 12px">
<tbody><tr style="border:2pt solid #000000;">
<td style="text-align: left; border:0.5pt solid #000000;"><p>Full name</p></td>
<td style="text-align: left; border:0.5pt solid #000000; width:4%">Gen der</td>
<td style="border:1pt solid #000000; width: 20%">Email<p></p></td>
<td style="text-align: left; border:1pt solid #000000; width:4%">Cou ntry</td>
<td style="text-align: left; border:1pt solid #000000; width: 8%">Organization</td>
<td style="text-align: left; border:1pt solid #000000; width: 6%">Position</td>
<td style="text-align: left; border:1pt solid #000000;">Phone</td>
<td style="text-align: left; border:1pt solid #000000;">Signature day 1</td>
<td style="text-align: left; border:1pt solid #000000;">Signature day 2</td>
</tr>
</tbody></table> <br>

Code for body:

<table style="table-layout: fixed; width: 100%; font-size: 10px">
<tbody><tr style="border:2pt solid #000000;">
<td style="text-align: left; border:0.5pt solid #000000;"><p>Full name</p></td>
<td style="text-align: left; border:0.5pt solid #000000; width:4%">gender</td>
<td style="border:0.5pt solid #000000; width: 20%">email<p></p></td>
<td style="text-align: left; border:0.5pt solid #000000; width:4%">country</td>
<td style="text-align: left; border:0.5pt solid #000000; width: 8%">organization</td>
<td style="text-align: left; border:0.5pt solid #000000; width: 6%">Job Title </td>
<td style="text-align: left; border:0.5pt solid #000000;">Phone</td>
<td style="text-align: left; border:0.5pt solid #000000;">_ _ _ _ _ _ _ _ _ _ _ _ _</td>
<td style="text-align: left; border:0.5pt solid #000000;">_ _ _ _ _ _ _ _ _ _ _ _ _</td>
</tr>
</tbody></table>

As we needed different sizes in the colums, I've managed to give the proportion on the style of the <td> with the width percentage (works better than px).


Let me know if you have questions. smile

Average of ratings: Useful (1)