2012-04-14 41 views

回答

4

你必须在$selectableRows属性设置为0

<?php $this->widget('zii.widgets.grid.CGridView', array(
    'selectableRows' => 0, 
    /*the rest of your initialization properties*/ 
)); ?> 

You can see it in Yii Class Reference.

+0

谢谢!一直在寻找这个! – keeg 2012-04-15 16:55:24

+0

不客气,@keeg :) – 2012-04-15 17:10:00