Closed adiramardiani closed 7 years ago
You need to configure it in mPdf options (using mPdf component config). You are wrongly setting this in GridView::tableOptions
.
I try in grid export config, still not affected
'exportConfig' => [
GridView::HTML => true,
GridView::EXCEL => true,
GridView::PDF => [
'config' => [
'options' => [
'title' => $this->title,
'repeat_header' => 0,
],
'methods' => [
'SetHeader'=>[date('d/m/Y H:i:s').' - '.Yii::$app->user->identity->name],
'SetFooter'=>['[ {PAGENO} ]'],
]
]
]
],
Can you able to give an example configuration ?
Have a working example for this ? please :)
The mpdf default always repating table header on a new page, but sometimes we need to disable this in mpdf documentation this feature should be affected, but in fact is not
I try to use
Still not affected
I think this options is can enable from grid/export(mpdf) options