Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: None  |  size: 0.45 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. array(
  2.                         'header'=>'Action',
  3.                         'class'=>'CButtonColumn',
  4.                         'template' => '{itemView}',
  5.                         'buttons'=>array
  6.                         (
  7.                         'itemView' => array
  8.                         (
  9.                                 'label'=>'Items',
  10.                                 'options'=>array("class"=>'cssGridButton',"id"=>'$data->header_id'), ---here i am passing dynamic value to id but it show blank
  11.                                 'url'=>'Yii::app()->createUrl("AuditTrailHeader/ItemView", array("id"=>$data->header_id))', --->same id value i am geeting here
  12.                         ),
  13.                         ),
  14.  
  15. ),