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:
please post your model(rules) code to make sure that relationship is perfect, I m using the same table with more 30thousand fields, i had some strange behaviour when i realize the whole problems was in relationship, b/c the data was not rendering due to problem in relationship!
i think you didnt understand my problem.I have all the things working.Only but when i have related table data with pagination,When i go to second page, the whole grid becomes that subgrid and shows second page,The other data is again rendered after if i reload the page.Problem with ajax pagination,The paginater hooks action with full Cgrid not with that subgrid only.
i did this earlier, I think i should post more code here to be more clear :
The controller action which is rendering the partial data-
public function actionXXXX($id){
//Logic which works good here.
$this->renderPartial('_orders', array(
'id' => Yii::app()->getRequest()->getParam('id'),
'dataProvider'=>$dataProvider,
'model' => $model),false,true);
}