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