SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $this->widget('zii.widgets.grid.CGridView', array(
  4.     'id' => 'incomplete-load-grid',
  5.     'dataProvider' => $model->search(),
  6.     //'selectableRows' => 0,
  7. //  'filter'=>$model,
  8.     'columns' => array(
  9.         'CONTRACT_NUMBER',
  10.         'NAME',
  11.         array(
  12.             'class' => 'CButtonColumn',
  13.             'viewButtonOptions' => array('style' => 'display:none;'),
  14.             'updateButtonOptions' => array('style' => 'display:none;'),
  15.             'deleteButtonUrl' => Yii::app()->createUrl("plugin/loadConfirmation/confirm", array("ContractID" => $data->CONTRACT_ID)),
  16.         ),
  17.     ),
  18. ));
  19. ?>
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top