CGridView and AjaxLink

Hi

I’m having issue with AjaxLink (or AjaxButton) inside a CGridView

My goal is to update a div when I click on a link in a column (normal or cbuttoncolumn) of my Grid

I try a lot of code I found on the forum, but no one is working : Link works, but AjaxLink never fire

Here is my code :




 $this->widget('zii.widgets.grid.CGridView', array(

		    'dataProvider'=>$applicationsDP,	

		 	'id'=>'gridViewApplication', 	

		    'columns'=>array(		

				array(

			            'type'=>'raw',

			            'value'=>'CHtml::ajaxLink("display1","/application/displayTabViewApplication",array(

			                            "data"=>array(

			                                    "idApplication"=>$data->id,

			                            ),

			                            "update"=>"#divApplications",

			                        ));',

			        ),				      

				 array(          

		                   'class'=>'CButtonColumn',

		        	   'template'=>'{voir}',					 	

		        	   'buttons'=>array(						

		        		'voir'=>array(								

		        			  	'label'=>'display',

							    'url'=>'',

								'options'=>array(  

         							'ajax'=>array(										

							           'type'=>'POST',		       							    	   

							           'update'=>'#divApplications',

				 					   'url'=>'Yii::app()->controller->createUrl("application/displayTabViewApplication", array("idApplication"=>$data->id))',

							         ),									     							         		         

							    ),		        

							    'click'=>'function(){alert("click me!");}',							   							        				        

		        		),

		        	)

		        ),

		 	'id',

		 	'utilisateur',

                    ),

		    //'cssFile' => Yii::app()->request->baseUrl . '/css/gridView.css',

		    'htmlOptions' => array('style'=>'overflow:auto;' ),		   

         	    'enablePagination'=>false, 

    		    'summaryText'=>'{count} z-info(s)',

    		    'emptyText'=>'No z-info.',        			    

		));



None of the 2 first column fire and the "click me" never appear

What is wrong with my code ?

thanks

nevermind

it seems the problem comes from the


$this->renderPartial(...,false,true);