Closed neoacevedo closed 5 years ago
master
$dataProvider->setSort(false);
$pdf = new Pdf([...]);
When I follow those steps, I see... A bad render:
%PDF-1.4 %���� 3 0 obj <> (...)
It is presents only with AdminLTE and in only one view. With default theme (Yii2 predefined view), all views are rendered normally.
I was expecting... Render of view just like HTML with disabled table header sort.
PHP 7.1.12
try setting 'mode' => Pdf::MODE_BLANK
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Prerequisites
master
branch of yii2-mpdf.Steps to reproduce the issue
$dataProvider->setSort(false);
$pdf = new Pdf([...]);
and return PDF outputExpected behavior and actual behavior
When I follow those steps, I see... A bad render:
It is presents only with AdminLTE and in only one view. With default theme (Yii2 predefined view), all views are rendered normally.
I was expecting... Render of view just like HTML with disabled table header sort.
Environment
PHP 7.1.12
Browsers
Operating System
Libraries
Isolating the problem