Quantcast
Channel: Krajee Yii2 Extensions – Krajee Web Tips
Viewing all articles
Browse latest Browse all 129

Expanded header / footer issue

$
0
0

Hello,
I have noticed a problem with the GridView extension. Below is my configuration for the beforeFooter setting
‘beforeFooter’ => [
                [‘columns’ => [
                    [‘content’ => ‘payment1’, ‘options’ => [‘colspan’ => 5]],
                    [‘content’ => ‘20,000.00’, ‘options’ => [‘colspan’ => 2]]
                
                ],
                    ],
                    [
                    ‘columns’ => [
                            [‘content’ => ‘payment1’, ‘options’ => [‘colspan’ => 5]],
                            [‘content’ => ‘20,000.00’, ‘options’ => [‘colspan’ => 2]]
        
                            ]
                ],
                    [
                    ‘columns’ => [
                        [‘content’ => ‘payment1’, ‘options’ => [‘colspan’ => 5]],
                        [‘content’ => ‘20,000.00’, ‘options’ => [‘colspan’ => 2]]
                            
                    ]
               ]
          ]
 
The above configuration works when displaying the grid but for some reason when i export to PDF, each row in the footer gets duplicated however, when i remove one row, everything work perfectly. Is there a limit to the number of rows you can have before the footer?

The post Expanded header / footer issue appeared first on Krajee Web Tips.


Viewing all articles
Browse latest Browse all 129

Trending Articles