yii - How can I make a tooltip link to another page? -
in data gridview, able put tooltip (http://yiibooster.clevertech.biz/javascript.html#tooltips) using headerhtmloptions , data database.
my problem can't find way put link in tooltip. example, "this tooltip. see more.." if 'see more..' clicked should go page. thanks.
try changes of script!
array( 'header'=>'video url', 'name' => 'video_url', //'value' => 'chtml::link($data->title,$data->video_url, array("target"=>"_blank"))', 'value' => 'chtml::link("view video", $data->video_url, array("target"=>"_blank"))', 'type' => 'raw', ),
perhaps missing target_blank
Comments
Post a Comment