Sheetjs: How can I bold a cell?

Created on 23 Jan 2018  路  7Comments  路  Source: SheetJS/sheetjs

I'm using this

var ws = XLSX.utils.aoa_to_sheet(list);

To create a sheet. But now I want to bold a cell. I tried things like

var list = [
["data"],
];

but it does not work.

Does anyone know how to do this?

Thanks

Style

All 7 comments

They want you to buy the Pro version, that's why no one in the repo will tell you how to style a cell.

We offer this in the Pro compendium. Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source. We have a longer comment in a gist.

Hello,
when coming from google directly to Github, nowhere is mentioned that there is something like Pro plans.
Can you please add a comment to the main README.md that this is the case and also list the features there.

There is a comment at the very top of the README:

This is the community version. We also offer a pro version with performance enhancements, additional features like styling, and dedicated support.

We could probably add a bit more detail, but don't want to leave an impression that the open source software is somehow not fit for data processing tasks.

Yes, true.
But when I search for "font" "bold" "style" I would expect to find at least for one of them the Info that it is not supported.
You could just add the same list like on your website www.sheetjs.com/pro and it would have saved me a hour of searching your code.
And obviously I wasn't the only one who did not find this info

We offer this in the Pro compendium. Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source. We have a longer comment in a gist.

I want to use your SheetJS pro version, so how do I get it?
Thanks

When you are not to far in your project, you can also switch to exceljs. This is containing all formatiing for free.
https://github.com/exceljs/exceljs

Was this page helpful?
0 / 5 - 0 ratings

Related issues

goxr3plus picture goxr3plus  路  3Comments

jamesbillinger picture jamesbillinger  路  4Comments

upasana-shah picture upasana-shah  路  4Comments

jamespan0 picture jamespan0  路  3Comments

eyalcohen4 picture eyalcohen4  路  3Comments