Skip to content
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

sheet.rows not working in production on web #385

Open
pom11 opened this issue Nov 7, 2024 · 0 comments
Open

sheet.rows not working in production on web #385

pom11 opened this issue Nov 7, 2024 · 0 comments

Comments

@pom11
Copy link

pom11 commented Nov 7, 2024

In development i can bold certain cells, in production i cannot.

Expected result (in development)
Screenshot 2024-11-07 at 16 27 36
Result (in production)
Screenshot 2024-11-07 at 16 27 52
Console logs
Screenshot 2024-11-07 at 16 28 10
Code

rows.forEach((row) => sheet1.appendRow(row));
print("this is a test");
print(sheet1.rows.first[sheet1.rows.first.length - 2].toString());
print("finished test");
sheet1.rows
    .where((e) => e[e.length - 2].toString().contains("Total KG"))
    .forEach((row) => row.forEach(
        (cell) => cell?.cellStyle = xlsx.CellStyle(bold: true)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant