protected function initPaginator()
    {
        $this->paginator = $this->grid->model()->eloquent();

        if ($this->paginator instanceof LengthAwarePaginator) {
            $this->paginator->appends(Input::all());
        }
    }
protected function initPaginator()
    {
        $this->paginator = $this->grid->model()->eloquent();

        if ($this->paginator instanceof LengthAwarePaginator) {
            $this->paginator->appends(Input::all());
        }
    }
protected function initPaginator ( ) { $ this -> paginator = $ this -> grid -> model ( ) -> eloquent ( ) ; if ( $ this -> paginator instanceof LengthAwarePaginator ) { $ this -> paginator -> appends ( Input :: all ( ) ) ; } }
Initialize work for Paginator.

@return void
Initialize work for Paginator .