clevertech / YiiBooster

YiiBooster
BSD 2-Clause "Simplified" License
544 stars 306 forks source link

TbExtendedGridView 'fixedHeader' => true, is not working #1030

Open bpap opened 9 years ago

bpap commented 9 years ago

Just upgraded to the latest bootstrap and yiibooster versions, and the fixed header functionality stopped working. My code is as follows:

$this->widget('booster.widgets.TbExtendedGridView', array( 'id' => 'vpolicy-grid', 'fixedHeader' => true, 'headerOffset' => 40, 'dataProvider' => $model->searchForPolicyIndex(), 'filter' => $model, 'type' => 'striped bordered condensed hover', 'htmlOptions' => array('style'=>'cursor: pointer;'), 'selectableRows' => 1, // you can select only 1 row!! 'selectionChanged' => 'function(id){ var objectId = $("#"+id).yiiGridView("getSelection"); if (isNaN(objectId) || objectId == ""){return;} location.href = "'.$this->createUrl('policy/view').'&id="+$("#"+id).yiiGridView("getSelection");}',

Did anyone come across this issue?

Thanks!