How To Pass Variable In The Popup Link On Cbuttoncolumn

How to pass variable in the popup link on CButtonColumn



	'header' => 'View',	



	'Details' => array(


  'click'=>//onclick I need one popup window here with the link and value("/CRM/default/activityListDetails", array("activity_id"=>$data[\'activity_id\'],"client_id"=>$data[\'client_id\'] ))}',	





what is the solution for it…

Look at this tutorial :

Here is for create new model but you can apply it for any other function like edit, view etc…