-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: functionality to detect and read sheet tables and related styles #4020
Comments
Much table functionality has been added. If you find that it isn't working properly, please open a new issue so that we can take a look at it. |
the issue is that when I import an Excel file that has table from Google or excel sheet, it doesn't identify those tables and cant detect them |
If you have a sample spreadsheet and code that demonstrates your problem, please upload it. Without that, there is nothing that I can do to help. |
$this->worksheet->getTableNames(), and $this->worksheet->getTableCollection() not getting anything from this example sheet |
Thank you for the spreadsheet. I am unable to duplicate your problem. $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx();
$spreadsheet = $reader->load('issue.4020.xlsx');
$worksheet = $spreadsheet->getActiveSheet();
var_dump($worksheet->getTableNames()); Output:
What release of PhpSpreadsheet, and what release of Php, are you using? What else can you tell me about your environment? |
oh i think there was problem with the version, thanks now I can get the names of the tables |
in order to fully use the repo. there should be away to detect and read the sheet tables and styles, specially when importing the files, because currently all sheets with tables are broken because of no table functionality exists
The text was updated successfully, but these errors were encountered: