Answer the question
In order to leave comments, you need to log in
Yii TbGridView\Cgridview table width?
you need to change the width of the entire TbGridView (so that there is room on the right).
saw something like this
$this->widget('bootstrap.widgets.TbGridView',array(
'id'=>'mining-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'type' => 'striped hover', //bordered condensed
'cssFile'=>'/myapp/css/ie.css',
"width"=>array(90%)
Answer the question
In order to leave comments, you need to log in
www.yiiframework.com/doc/api/1.1/CBaseListView#htm
... most likely you need to register an additional property in this way
...
'htmlOptions' => array('style' => 'width: 90%')
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question