We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a possibility, of doing the process to the contrary, make a find in the table and write in the file? In the case it would be a data export
The text was updated successfully, but these errors were encountered:
@thiagoreri
It is possible to dump the table into a spreadsheet file using your custom finder.
$table = TableRegistry::get('SomeTable'); $manager = new Manager(); $file = new File('your/file.xlsx'); $spreadsheet = $manager->getSpreadsheet($file); $worksheet = $spreadsheet->getActiveSheet(); $manager->write($table, $worksheet, [ 'finder' => 'myFinder', 'finderOptions' => [], //pass options to your finder ]); $writer = $manager->save($spreadsheet, $file);
Check this method for reference: https://github.com/robotusers/cakephp-excel/blob/master/src/Excel/Manager.php#L154
Sorry, something went wrong.
IS possible export for empty file?
When trying to do this happens the following error:
Invalid cell cordinate
No branches or pull requests
Is there a possibility, of doing the process to the contrary, make a find in the table and write in the file? In the case it would be a data export
The text was updated successfully, but these errors were encountered: