protobi / js-xlsx

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer
http://oss.sheetjs.com/js-xlsx
Other
817 stars 417 forks source link

how can I set the height for an specific cell? #83

Closed jorbope closed 6 years ago

jorbope commented 6 years ago

how can I set the height for an specific cell? for example A1 when I set to that cell a lot of text, I want to see the whole text when I open the xlsx, but currently I have to open the xlsx and resize manually the cell to see the whole text.

randomevents commented 6 years ago

It sounds like what you really want is to turn on text wrapping. It's in Cell Styles part of the instructions.

jorbope commented 6 years ago

yes, thanks.. I changed the library for another one with a better result for me.

randomevents commented 6 years ago

Would you mind sharing which one you ended up going with, I'm trying to review them all for a project I'm working on, even the Pro version of the main (if I can get work to drop the money for it)

jorbope commented 6 years ago

ok, here the library https://www.npmjs.com/package/xlsx-populate

dbwcooper commented 6 years ago

@randomevents
hello , do you mind telling me the method of setting the height of the js-xlsx plugin, I see that you mentioned text wrapping, but the documentation states that this is a Boolean value.