kartik-v / yii2-grid

Enhanced GridView with various utilities for Yii Framework 2.0
http://demos.krajee.com/grid
Other
557 stars 302 forks source link

margins in gridview header #1012

Closed atmanegara closed 2 years ago

atmanegara commented 2 years ago

image on the red circle, there is a margin , my configuration is in the gridview `<?php

echo GridView::widget([ 'pjax'=>true, 'perfectScrollbar'=>true, 'floatHeader'=>true, 'containerOptions'=>[ 'style'=>'height:450px' ], 'floatHeaderOptions'=>[ 'scrollingTop' => '0', 'position' => 'absolute', 'top' => 50 ], 'headerRowOptions' => ['style' =>'background-color:#ffffff'], 'dataProvider'=>$dataProvider, 'columns'=>[ 'nif', 'nama', 'klsjab', 'rp_beban', 'rp_kondisi', 'rp_langka', 'alltpp', 'pph21', 'bpjs' ] ]); ?>`

kartik-v commented 2 years ago

Some of these styling issues are related to use of the float header 3rd party plugin.

The Float header plugin dependency has now been removed from the latest release (v3.5 onwards) - and floatHeaderOptions is thus deprecated. Suggest you to upgrade and use the new version and try.