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

Adding formula to cell not working #17

Open
toniojst opened this issue Nov 20, 2020 · 0 comments
Open

Adding formula to cell not working #17

toniojst opened this issue Nov 20, 2020 · 0 comments

Comments

@toniojst
Copy link

toniojst commented Nov 20, 2020

Hi i succces download my html table to excel but problem is that script parse number by self. So i find that we can set the cell type and value. Also this i did sucessful bit then i want to add formula to cell and i dont get it to work. So what i missed up?

My code for now is:
Table2Excel.extend((cell, cellText) => { if (cellText == 'URE') { return { f: 'A1+A2' }; } else { return { t: 's', v: cellText } } });

Problem is that this cell is empty.

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