Cjuibutton Inside Gridview

Hi all,

I want to put a CJuiButton inside a gridview Column and than run a Jquery onClick event code.




	$columns[] = array(

			'header'=>Yii::t('core', 'Actions'),

			//'type'=>'raw',

			'value'=>$this->widget("zii.widgets.jui.CJuiButton", array(

					"buttonType"=>"button",

					"name" => "copy",

					"caption"=>"",

					"options" => array(

							"icons" => array(

									"primary" => "ui-icon ui-icon-arrowthickstop-1-e"

							)

					),

					"htmlOptions" => array()

			),true),

			'htmlOptions' => array('style' => 'text-align: right; width:50px;',),

			'headerHtmlOptions'=>array('style'=>'width:50px;')

	);



When the user hits the copy button I need to copy the current rows into another.

Any ideas?