my code in cgridview
enter cod<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'party-ledger-grid',
'dataProvider'=>$model->search(),
'columns'=>array(
'id',
array(
'name'=>'trans_date',
'value'=> 'Yii::app()->dateFormatter->format("d-MMM-y",strtotime($data->trans_date))'
),
'trans_id',
array(
'name'=>'tr_type_id',
'value'=>'$data->trType->tr_code'
),
.....
and result shown below:
My question is how to insert first static row in cgridview table after header, for previous balance. how to add static custom row in cgridview.