How do add a style to Export menu ? (Yii2 GridView)

I have a kartik gridview and I’m exporting the data to PDF or Excel. That works absolutely fine but I want to see borders on every row. I have this code right here, but it doesnt work.

'exportConfig' => [


                            ExportMenu::FORMAT_CSV => false,
                            ExportMenu::FORMAT_HTML => false,
                            ExportMenu::FORMAT_TEXT => false,
                            ExportMenu::FORMAT_EXCEL_X => [
                                'label' => 'Excel',
                            ],


                        ],
                        'styleOptions' => [
                            ExportMenu::FORMAT_PDF => [

                                'fill' => [
                                    'type' => PHPExcel_Style_Fill::FILL_SOLID,
                                    'color' => [
                                        'argb' => '00000000',
                                    ],
                                ],
                                'borders' => [
                                    'outline' => [
                                        'borderStyle' => PHPExcel_Style_Border::BORDER_DASHDOT,
                                        'color' => ['argb' => PHPExcel_Style_Color::COLOR_BLACK]
                                    ],
                                    'inside' => [
                                        'borderStyle' => PHPExcel_Style_Border::BORDER_DASHDOT,
                                        'color' => ['argb' => PHPExcel_Style_Color::COLOR_BLACK]
                                    ]
                                ],


                            ]
                        ]

Where do I have to put the border style and color? Is it right in styleOptions?
I’m looking for an answer on google but didnt find one. 

I hope someone can help me. Thanks

Hi, did you find any solution?