public function displayFooter($display = true) { if (!$this->instant_search && !$this->ajax_search) { parent::displayFooter(); } }