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
Closed

Adding an option to set RTL worksheet #126

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

Comments

@dorshay6
Copy link

Header

@deanshub
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants