Hello guys,
I wanna config page size in actionAdmin, how can I do?
Unlike dataProdiver, there is pagination of CPagination, I can set pageSize and then render to client page, but dataProvider do not support ajax search like actionAdmin()
any idea?
If I wanna set page size to “100”, how can I do in actionAdmin (I’m using default actionAdmin of Yii)
$model=new LichChay('search');
$model->unsetAttributes(); // clear any default values
if(isset($_GET['LichChay']))
$model->attributes=$_GET['LichChay'];
$this->render('admin',array(
'model'=>$model,
));