How can I do the CGridView without ajax pagination or sort, I want to make to normal.
Thx!
How can I do the CGridView without ajax pagination or sort, I want to make to normal.
Thx!
all you need is set the ajaxUpdate property to be false like this :
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'xxx-grid',
'ajaxUpdate'=>false,
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'field_1',
'field_2',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
junxiong, thx a lot!