I want to show a tooltip in the value of cgridview, as when hovering over a column, it should display the whole constant stored in the variable. I want to show contant in the variable $ data ["comment"] as a hint (name), and currently it shows the whole line as - $ data ["comment"].
array( 'name'=>'Comment', 'header'=>'Comment', 'value'=>'(strlen($data["comment"])>35)?substr($data["comment"], 0, 35)."..":$data["comment"];', 'htmlOptions'=>array('title'=>'$data["comment"]'),
Kiran source share