Search code examples
ruby-on-railsexcelaxlsx

Spreadsheet size % - axlsx - ruby on rails


I am using axlsx to generate excel sheets currently.

I would like to generate the sheet such that when the user opens it, it should open at 80% size by default.

Is there a way to achieve this? I tried looking into the axlsx documentation but I don't think this topic is covered there.


Solution

  • The solution is available on the GitHub issues page - https://github.com/randym/axlsx/issues/369

    I tried this solution and it works perfectly for me!