public function setName($name)
    {
        $this->name = $name;

        $this->model()->setPerPageName("{$name}_{$this->model()->getPerPageName()}");

        $this->getFilter()->setName($name);

        return $this;
    }
public function setName($name)
    {
        $this->name = $name;

        $this->model()->setPerPageName("{$name}_{$this->model()->getPerPageName()}");

        $this->getFilter()->setName($name);

        return $this;
    }
public function setName ( $ name ) { $ this -> name = $ name ; $ this -> model ( ) -> setPerPageName ( "{$name}_{$this->model()->getPerPageName()}" ) ; $ this -> getFilter ( ) -> setName ( $ name ) ; return $ this ; }
Set name to grid.

@param string $name

@return $this
Set name to grid .