tabulator
tabulator copied to clipboard
Compress xlsx file
It will compress the File size of XLSX file, I have tried and it compressing more then 50%
Hey @RiteshParyali
I think this is a great idea!
But i would like to give users the option to disable compression if for whatever reason the dont want to use it. Im happy for it to be on by default as it certainly seems to offer a significant improvement.
Do you think you could update this to look at the compress
property of the options
object passed into the downloader, and if it is explicitly set to false
to then not enable the compression.
Cheers
Oli :)
On a completely separate note, @rathboma do you have any idea why the automated checks are showing a fail on this including dist files when it doesn't?
By default it's enabled compression.
To disable compression
table.download( 'xlsx',
FineName.xlsx, { compress: false } )
It should be false to disable compression
On Sun, 24 Jul 2022, 13:50 Ritesh Paryali, @.***> wrote:
By default it's enabled compression.
To disable compression tableRef.table.download( 'xlsx',FinaName.xlsx, { compress: true } )
— Reply to this email directly, view it on GitHub https://github.com/olifolkerd/tabulator/pull/3868#issuecomment-1193312295, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUGBTFX2MSIR7NPBPZL7D3VVU32RANCNFSM54C6BPDQ . You are receiving this because you commented.Message ID: @.***>
It should be false to disable compression … On Sun, 24 Jul 2022, 13:50 Ritesh Paryali, @.> wrote: By default it's enabled compression. To disable compression tableRef.table.download( 'xlsx',FinaName.xlsx, { compress: true } ) — Reply to this email directly, view it on GitHub <#3868 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUGBTFX2MSIR7NPBPZL7D3VVU32RANCNFSM54C6BPDQ . You are receiving this because you commented.Message ID: @.>
Updated
Hey @RiteshParyali
thanks for your fast response, i will schedule this for the 5.4 release.
Cheers
Oli :)
@RiteshParyali
This has been merged into the 4.0 branch which i am hoping to release by the end of September
Cheers
Oli :)