Multi Column Page Mpdf Yii2

Berikut contoh view untuk mpdf multi column:

<div class="panel panel-default panel-body" style="font-family: times new roman; border: none; margin:40px; margin-top:0px;" >
 <div class="col-sm-12">
 <columns column-count="2" column-gap="5" width="100%"/>
 <div class="col-sm-6">
 <table width="100%" style="text-align: center; font-size: 11px; font-family: times new roman;">
 <?php foreach($TableLaporan as $data) : ?>
 <tr>
 <td>
 <?php echo $data['Title']; ?>
 </td>
 </tr>
 <?php endforeach ?>
 </table>
 </div>
 <columnbreak />
 </div>
</div>

Leave a Reply

Your email address will not be published. Required fields are marked *