Closed atmanegara closed 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.
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' ] ]); ?>`