I have a Yii booster TbRelationalColumn and it work perfectly, now when the records are more, the pagination is showing correctly but when i change the page the whole grid disappears and only that grid is showing which is currently selected, i have to refresh the page to get back all the related columns. Here is my code:
$this->widget('bootstrap.widgets.TbExtendedGridView', array(
'filter'=>$model,
'dataProvider' => $model->search(),
'pager'=>array(
'firstPageCssClass'=>'previous',
'lastPageCssClass'=>'next',
),
'columns' => array_merge(array(
array('class'=>'bootstrap.widgets.TbRelationalColumn',
'name' => 'name',
'url' =>$this->createUrl('XXXXXXX'),
'value'=> $data->name
)
),array( 'XXXXXX','XXXXXX',
array(
'class'=>'CButtonColumn',
'template'=>'{update}',
'buttons'=>array(
'update' => array(
'label'=>'',
'imageUrl'=>Yii::app()->request->baseUrl.'/images/update.png',
),
),
),
)),
));
Now the problem is that how can i maintain the current view when we change the page only related columns page is change not the whole grid?