public function setGrid(Grid $grid)
    {
        $this->grid = $grid;

        $this->setModel($grid->model()->eloquent());
    }
public function setGrid(Grid $grid)
    {
        $this->grid = $grid;

        $this->setModel($grid->model()->eloquent());
    }
public function setGrid ( Grid $ grid ) { $ this -> grid = $ grid ; $ this -> setModel ( $ grid -> model ( ) -> eloquent ( ) ) ; }
Set grid instance for column.

@param Grid $grid
Set grid instance for column .