You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there, thanks for the great library, I was looking at the code, I can't find the function to get the column count probably based on the titles (The first row) like:
public function getColCount(){
$rowColSpan = $this->_cSheet->sheetData->row[0]['spans'];
$col = explode(":",$rowColSpan)[1];
return (int)$col;
}
Note: It was just a suggestion, but I really hope you look into it,
Thanks
The text was updated successfully, but these errors were encountered:
/**
* This method returns number of cols in active sheet.
*
* @return int - col number of the last col.
*
* @category Sheet manipulations
*/
public function getColCount(){
return count($this->_cSheet->cols->col);
}
Hello there, thanks for the great library, I was looking at the code, I can't find the function to get the column count probably based on the titles (The first row) like:
public function getColCount(){
$rowColSpan = $this->_cSheet->sheetData->row[0]['spans'];
$col = explode(":",$rowColSpan)[1];
return (int)$col;
}
Note: It was just a suggestion, but I really hope you look into it,
Thanks
The text was updated successfully, but these errors were encountered: