Skip to main content
Question

How to give Autofitwidth to xlsx file using alasql


Hi can anyone please help me to find an answer to keep autofitwidth to all columns in xlsx file

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • February 10, 2018

Hi @sandeepreddy124, in your Workspace did you use the transformer JavaScriptCaller?

Thanks,

Danilo


danilo_fme wrote:

Hi @sandeepreddy124, in your Workspace did you use the transformer JavaScriptCaller?

Thanks,

Danilo

Hi Danilo,

 

 

No, I did not use transformer JavaScriptCaller. Instead I have used alasql.min.js

 

Thanks,

 

Sandeep

 


danilo_fme wrote:

Hi @sandeepreddy124, in your Workspace did you use the transformer JavaScriptCaller?

Thanks,

Danilo

Hi Danilo,

 

 

Here is the sample query that i am using please suggest me to get the column in the xlsx file as autofitwidth.

 

 

alasql('SELECT name as Name,class as Class,scholl_name as Scholl_Name, student_gaurdian as Gaurdian INTO XLSX("Details.xlsx",{sheetid:"Student_details"}) FROM ?', [arr]);

 

 

Thanks

 

Sandeep

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings