public function gridData() { $model = new Genre(); $criteria = $model->listByFilter($this->data->filter); $this->renderJSON($model->gridDataAsJSON($criteria)); }