How can I customize the column width on excel file when I export pivot table to excel (Angular 2+)

With the pivot has only one column, the width is so big



4 Replies 1 reply marked as answer

SW Swagger June 14, 2021 04:56 AM UTC

Please I need your help


ME Mouli Eswararao Syncfusion Team June 14, 2021 12:20 PM UTC

Hi Swagger, 
 
Thanks for contacting Syncfusion support, 
 
Basically the pivot table component works in response. So, its columns are stretches based on the width of the component you have set. This is the default behavior. To avoid this kindly set allowAutoResizing property in gridSettings as “false”. We have prepared a sample for you please find it below. 
 
 
Please let us know if you have any other queries we are happy to assist you. 
 
Regards,
Mouli
 



Marked as answer

SW Swagger June 15, 2021 03:56 AM UTC

Thanks you, really helpful


ME Mouli Eswararao Syncfusion Team June 17, 2021 04:22 AM UTC

Hi Swagger, 

Thanks for the update. 

Regards,
Mouli  


Loader.
Up arrow icon