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 an option to set RTL worksheet #126

Closed
dorshay6 opened this issue May 25, 2016 · 1 comment · Fixed by #356

Comments

@dorshay6
Copy link

commented May 25, 2016

Header

@deanshub

This comment has been minimized.

Copy link

commented May 12, 2017

my excel installation is RTL by default so this code makes it LTR I guess you can use it to make the opposite work

const worksheet = workbook.getWorksheet(1);
worksheet.views = [{state:'normal'}];

I found it by saving an excel file as I want then I read it and viewed it's properties, something like that:

workbook.xlsx.readFile('test.xlsx')
    .then(function() {
      const worksheet = workbook.getWorksheet(1);
      console.log(worksheet.views);
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.