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

[Bug Report]: the data in an excel table does not stay on the desired start line #167

Open
mazero opened this issue Aug 12, 2022 · 1 comment
Labels
T: bug Functionality that does not work as intended/expected

Comments

@mazero
Copy link

mazero commented Aug 12, 2022

Environment
Carbone Version: 3.2.3
Node Version: v14.16.0
Desktop OS: Microsoft
Other: Office 365 (Excel)

Expected Behaviour
For example: 5000 rows of data on a carbon-generated Excel table, starting at row 50, stays and starts on row 50 without going back and overlapping other data.

Actual Behaviour
Repetition of data in Excel cells without reassembling and de-structuring the template-based visual. For example: 5000 rows of data on a carbon generated excel table starting on row 50, goes up to row 2

Steps to reproduce

    const data: any[] =
        await this.getDataByAppsToGenerateReporting();
      carbone.render(
        'public/template.xlsx',
        data,
        (err, result) => {
          if (err) {
            return console.log(err);
          }
          fs.writeFileSync('result.xlsx', result);
        },
@mazero mazero added the T: bug Functionality that does not work as intended/expected label Aug 12, 2022
@PhilippFr
Copy link

I am encountering the same problem. If I save the xlsx to an ods beforehand, this problem doesn't occur.

Carbone Version: 3.5.5
Node Version: v18.18.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants