public function beginRow()
    {
        if ($this->classesOnly) {
            return trim('row ' . $this->grid->getRowClass());
        }

        return sprintf('<div class="%s">', trim('row ' . $this->grid->getRowClass()));
    }