Difference between #8 and #9 of
CGridView: Display the full record (actionView) in a CJuiDialog

Revision #9 has been created by Joblo on Jun 19, 2012, 3:50:26 PM with the memo:

Added extension link
« previous (#8)

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',
[...]
14 0
21 followers
Viewed: 45 356 times
Version: 1.1
Category: Tips
Written by: Joblo
Last updated by: Joblo
Created on: Oct 22, 2011
Last updated: 5 years ago
Update Article

Revisions

View all history