public function getColumnResets($tag = null)
    {
        if (!$this->infinite || $this->infiniteIndex === 0 || $this->grid->hasColumn($this->infiniteIndex)) {
            return $this->grid->getColumnResetsAsString($this->index, $tag);
        }

        $number = count($this->grid->getColumns());

        return $this->grid->getColumnResetsAsString(($this->infiniteIndex % $number), $tag);
    }
public function getColumnResets($tag = null)
    {
        if (!$this->infinite || $this->infiniteIndex === 0 || $this->grid->hasColumn($this->infiniteIndex)) {
            return $this->grid->getColumnResetsAsString($this->index, $tag);
        }

        $number = count($this->grid->getColumns());

        return $this->grid->getColumnResetsAsString(($this->infiniteIndex % $number), $tag);
    }
public function getColumnResets ( $ tag = null ) { if ( ! $ this -> infinite || $ this -> infiniteIndex === 0 || $ this -> grid -> hasColumn ( $ this -> infiniteIndex ) ) { return $ this -> grid -> getColumnResetsAsString ( $ this -> index , $ tag ) ; } $ number = count ( $ this -> grid -> getColumns ( ) ) ; return $ this -> grid -> getColumnResetsAsString ( ( $ this -> infiniteIndex % $ number ) , $ tag ) ; }
Get the column resets for the current position, always as html.

@param string|null $tag Custom html tag.

@return string
Get the column resets for the current position always as html .