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'),


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


					"name" => "copy",


					"options" => array(

							"icons" => array(

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



					"htmlOptions" => array()


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



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

Any ideas?