Comments (8)
what you are explaining here sound like there is an issue in the mime type within the email, and nothing to do with package itself. did you setup the mime type as
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
in the email?
from excel.
Hello. Thanks for answer me... the email opens well and the file opens and downloads wells. the issue is when I tried to copy a sheet from the file to another excel file before I save it.
I tried several times checking with part of the code is producing the error. I found it here:
var sheet = excel[AppStrings.excelSheetName];
excel.setDefaultSheet(AppStrings.excelSheetName);
when I create a sheet using this procedure, any time that I tried to copy the sheet to another excel file, excel crashed. (this doesn't happen if I saved the file into excel).
Now I am getting the default sheet page and I successfully can copy that sheet to another excel file like this:
var excel = Excel.createExcel();
//get the sheet Name (other sheet creation throws error so far)
var sheetName = await excel.getDefaultSheet();
//Create the sheet
var sheet = excel[sheetName];
In this way, it works perfectly... So, I guess the errors come when we create a excel sheet or when we set the default excel page
I'm trying to understand the package to see what happens, but I am not so familiar with it.
from excel.
Are you trying to copy one sheet from excel to another excel files,
like communicating data between 2 excel files ??
from excel.
No.. I am just would like to write data in another sheet different than the default one... it's like create a new sheet, set some data and save it
from excel.
Can you post the log of the issue ??
from excel.
I cannot reproduce any log. In flutter everything appears to be ok. The issue comes when I opened the generated excel file and try to copy that sheet to another workbook in another excel file (it seems the excel is not recognizable).
The errors come when I create the excel in this way:
var excel = Excel.createExcel();
var sheet = excel[AppStrings.excelSheetName];
excel.setDefaultSheet(AppStrings.excelSheetName);
instead of:
var excel = Excel.createExcel();
//get the sheet Name (other sheet creation throws error so far)
var sheetName = await excel.getDefaultSheet();
//Create the sheet
var sheet = excel[sheetName];
from excel.
Ok can you post the issue text from the terminal or log cat related to excel so that we can know what problem you are facing.
from excel.
I hope the issue will be resolved by now on your own,
If you thinks that the issue still persist then feel free to re-open the issue.
from excel.
Related Issues (20)
- Help: Determining the type of a cell HOT 1
- How to use custom Chinese fonts
- Excel - Roadmap Tasks HOT 2
- Default constructors for simplicity
- rename sheet breaks with archive 3.4.10 HOT 1
- Excel.decodeBytes -> Bad State too many elements
- The argument type 'String' can't be assigned to the parameter type 'ExcelColor' HOT 4
- How to parse Excel cell merging information?
- Bug reading SpannedItems as empty HOT 2
- README.md demo doesn't compile since 4.0.3 update
- Couldn't decode ".xls" file HOT 1
- Cannot delete sheets HOT 6
- DateTimeCellValue not working on Windows
- Very inefficient RAM usage HOT 2
- Can't read the XLSX file from http request - Damaged Excel file: Corrupted Excel file HOT 1
- How to save .csv
- Bad state: No element while parsing
- Can I select the sheet I want to open in a file that has multiple sheets?
- update package HOT 5
- Cells with a time below `02:25:00` are recognized as `DateTimeCellValue` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excel.