Yii Framework Forum: CDataColumn link modal window - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CDataColumn link modal window Rate Topic: -----

#1 User is offline   senjoukun 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 02-May 11

Posted 09 May 2011 - 03:40 AM

In the CGridView, I made one of the columns to link using this code


$this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'user-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		
		array(
		'name'=>'username',
		'type'=>'raw',
		'value'=>'CHtml::link(CHtml::encode($data->username), array("view", "id"=>$data->pk_user))',
      
		)
		,


Is it possible to open the link in a modal window?. Thanks

P.S. Sorry if this is posted on the wrong thread.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users