Shareek
            (Shareek Now)
          
          
          
              
              
          1
          
         
        
          Hi All,
I want to add title attributes to each and every row in a Gridview.
Is there any way I can get this thing working.
Adding a Class can be achieved by using =>
$rowCssClassExpression = '$data->id';
But How to add TITLE tag for each ROW in a GRIDVIEW? 
4480

Thank you.
         
        
          
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            mazraara
            (Mazraara)
          
          
          
              
              
          2
          
         
        
          i also need to do something similar.
waiting for a yii expert’s reply.
         
        
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            mazraara
            (Mazraara)
          
          
          
              
              
          3
          
         
        
          check weather this works…
i found it here… http://stackoverflow…d-own-attribute
$this->widget([color=#800000]‘zii.widgets.grid.CGridView’[/color], array(   …   [color=#800000]‘rowHtmlOptionsExpression’[/color] => [color=#800000]‘array(“id” => $data->id)’[/color],
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          example
 'columns' => array(
          	
		
		array(
            
        'class'=>'CLinkColumn',
        'labelExpression'=>'$data->name',
		'urlExpression'=>'Yii::app()->createUrl("/examination/exams/create",array("exam_group_id"=>$data->id,"id"=>$_REQUEST["id"]))',
        'header'=>'Name',
		'headerHtmlOptions'=>array('style'=>'color:#FF6600')
        ),