jQuery Tooltip works outside of CGridView

Hi,

After a several attempts getting jQuery to allow tooltips on a page with a CGridView widget, it now will not allow the tooltip to work properly when it is embeded in the table.

If anyone has any ideas I would be very grateful.

I am using the old qtip extension as I could not get qtip2 to work.

The button and tooltip is populated from the model function below:


public function getButtons()

{

	return "<div class='buttons'><img src='myImage.png'></div><div class='tip'>Help</div>";

}

admin.php


$this->widget('application.extensions.jqueryTooltip.JqueryTooltip', array(

           'selector' => '.buttons',

           'options'=>'',

            ));

The tooltips work with:


<?php echo $model->getButtons(); ?>    

But only the image and text are displayed statically with:


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

	'id'=>'temp-grid',

	'dataProvider'=>$model->search(),

	'columns'=>array(

 array(

               	'header'=>'',

               	'value'=> 'Temp::model()->getButtons()',

               	'type' => 'raw',

               ),

),

));

Many thanks

Blinky

Erm… maybe I just needed to put the




$this->widget('application.extensions.jqueryTooltip.JqueryTooltip', array(

           'selector' => '.buttons',

           'options'=>'',

            )); 

below the cgridview :-[

Hi,

my tool tip is proper working on first page but can move on pagination it’s not working.

How to solve this?please help…

Best Regards,

Ankit Modi