public function disablePagination(bool $disable = true)
    {
        $this->model->usePaginate(!$disable);

        return $this->option('show_pagination', !$disable);
    }
public function disablePagination(bool $disable = true)
    {
        $this->model->usePaginate(!$disable);

        return $this->option('show_pagination', !$disable);
    }
public function disablePagination ( bool $ disable = true ) { $ this -> model -> usePaginate ( ! $ disable ) ; return $ this -> option ( 'show_pagination' , ! $ disable ) ; }
Disable grid pagination.

@return $this
Disable grid pagination .