Mpdf automatically shrinking table if rowspan has to many data

Viewed 117

I'm using Mpdf and i got some strange issue regarding table rowspan. If table have more data in rowspan then they are reducing font size but instead of that i have to shift table to new page.

I have tried many solution of shrink_tables_to_fit to 1 and <table autosize="1"> but none of them are working.

Can someone please help me how to do so?

$mpdf = new Mpdf(['shrink_tables_to_fit' => 1,
                 'tableMinSizePriority'  => true, 
                 'use_kwt'               => true]);

This is mpdf setup of mine.

0 Answers
Related