We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: