Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bpap opened this issue Jul 28, 2015 · 0 comments
Open

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

bpap opened this issue Jul 28, 2015 · 0 comments

Comments

@bpap
Copy link

bpap commented Jul 28, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant