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