Changes
Title
unchanged
CGridView: Display the full record (actionView) in a CJuiDialog
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
CGridView, CJuiDialog
Content
changed
Note: This code is now part of the extension [quickdlgs](http://www.yiiframework.com/extension/quickdlgs/ "quickdlgs")
----------------------------------------------------------------------------------------------------------------
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view
as a page and afterwards returning back to the gridview.[...]
<h1>View Address #<?php echo $model->ID; ?></h1>
<?php endif; ?>//--------------------- begin added --------------------------
<?php endif; ?>
//--------------------- end added --------------------------
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'ID',[...]