hey, im using an extension quickdlgs,
I Put that quickdlgs button inside clistview,
here is the code (clistview) i tried put afterajaxupdate, maybe that was wrong or missing something.
$this->widget('zii.widgets.CListView', array(
'afterAjaxUpdate'=>'function(){$("#yw2-frame").dialog("open");}',
'id'=>'listPost-grid',
'template' =>' {summary}{items}{pager}',
'summaryText' =>'{count} post(s)',
'dataProvider'=>$modelPost,
'itemView'=>'//post/_view',
));
then i put the quickdlgs extension Button inside the _view
EQuickDlgs::iframeButton(
array(
'controllerRoute' => '/post/reply',
'actionParams' => array('id'=>$data->id_post),
'dialogTitle' => 'Reply -'.$data->idPost->notes,
'dialogWidth' =>550,
'dialogHeight' =>250,
'openButtonText' => 'Reply',
'closeButtonText' => 'Close',
'closeOnAction' => true, //important to invoke the close action in the actionCreate
'refreshGridId' => 'listPost-grid',
The problem is, that extension cannot works/show the dialog(or popups) after Clistview perform ajaxupdate (refresh grid with ajax),
anyone, please help me .