public function setTotalsTitle($field, $title = 'Total: %s row%s')
    {
        $this->totals_title_field = $field;
        $this->totals_title = $title;

        return $this;
    }
public function setTotalsTitle($field, $title = 'Total: %s row%s')
    {
        $this->totals_title_field = $field;
        $this->totals_title = $title;

        return $this;
    }
public function setTotalsTitle ( $ field , $ title = 'Total: %s row%s' ) { $ this -> totals_title_field = $ field ; $ this -> totals_title = $ title ; return $ this ; }
Sets totals title field and text.

@param string $field
@param string $title

@return $this
Sets totals title field and text .