How to set pagination for CGridView?

I use yiibooster. Not showing pagination from TbGridView
In the vyuha
$this->widget('booster.widgets.TbExtendedGridView', array(
 'type' => 'condensed hover',
 'responsiveTable' => true,
 'pager' => array(
 'class' => 'bootstrap.widgets.TbPager',
),
 'filter' => $model,
 'dataProvider' => $model->search(),
 'template' => "{items}",
 'columns' => array(
 array ('name'=>'name', 'header'=>'Name'),
 array ('name'=>'brand', 'header'=>'car Brand'),
 array ('name'=>'count', 'header'=>'Number'),
array(
'class'=>'booster.widgets.TbButtonColumn',
 'htmlOptions'=>array('style'=>'width: 50px'),
'buttons'=>array(),
),
),
 ));

Code in the model
public function search() {
...
 return new CActiveDataProvider($this, array(
'pagination'=>array(
'pageSize'=>10,
),
'criteria'=>$criteria,
));
 }
September 26th 19 at 06:23
1 answer
September 26th 19 at 06:25
Solution
change the view in the widget options
'template' => "{items}{pager}",

Find more questions by tags Yii