protected function search() { if ($this->input['first_name']) { throw new jqGrid_Exception('You cannot use filter for field "first_name"'); } parent::search(); }