Tuesday, February 24, 2015

mouseover popup box YII griview

Standard
YII Drid cell with a javascript/css content box that pops up upon mouseover.





<! --- Style ------- >


<! ---- Java script ----->



add this on YII drid view

array( 'header'=>' User', 'value' => ' " ".CHtml::link($data->user->username,array("user/admin/view/id/".$data->UserId))."
Email : ".$data->user->email."
Telephone : ".$data->user->Telephone."
" ', 'name'=>'UserId', 'filter'=>FALSE, 'type'=>'raw', ),


 

0 comments:

Post a Comment