public function setColumnWidths(array $widths)
    {
        $this->columnWidths = [];
        foreach ($widths as $index => $width) {
            $this->setColumnWidth($index, $width);
        }

        return $this;
    }
public function setColumnWidths(array $widths)
    {
        $this->columnWidths = [];
        foreach ($widths as $index => $width) {
            $this->setColumnWidth($index, $width);
        }

        return $this;
    }
public function setColumnWidths ( array $ widths ) { $ this -> columnWidths = [ ] ; foreach ( $ widths as $ index => $ width ) { $ this -> setColumnWidth ( $ index , $ width ) ; } return $ this ; }
Sets the minimum width of all columns.

@param array $widths

@return $this
Sets the minimum width of all columns .