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


Title unchanged

CGridView: Display the full record (actionView) in a CJuiDialog

Category unchanged


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(
14 0
Viewed: 52 392 times
Version: 1.1
Category: Tips
Written by: Joblo
Last updated by: Joblo
Created on: Oct 22, 2011
Last updated: 9 years ago
Update Article


View all history