ce icon indicating copy to clipboard operation
ce copied to clipboard

Import files from excel(xlsx). Cannot adjust width

Open sxmny123 opened this issue 7 years ago • 2 comments

image image image

sxmny123 avatar Sep 30 '19 00:09 sxmny123

you can use setWidth() function. detail please see relate doc https://bossanova.uk/jexcel/v3/docs/quick-reference

TsePakKwan avatar Sep 30 '19 04:09 TsePakKwan

The XLSX importer is through a third party library SheetJS. Basically, this third party plugin gets the width and create an object to be inject in jExcel. At your side, it seems sheetjs were unable to parse the width from the original excel file. So, in this case the only thing I can do is prevent the error if the object is blank to avoid the error in the console.

For more options, I suggest you go through their documentation.

pphod avatar Sep 30 '19 19:09 pphod