compressor methods

Answered
Jerome Rioux asked on August 19, 2024

Hey could you add an option to methods like

compressor.compressJson

to keep the zeros ? Since

!0 === true       (see your 'processDataRow(rowObj)' method)

when I call those methods, all the zeros in my reports disappear and I now have blank spaces everywhere. This won't work with my company :/

Thank you ! 

4 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 20, 2024

Hello, Jerome!

Thank you for reaching out to us.

Kindly note that now Flexmonster Data Compressor is considered deprecated, and we support it only for backward compatibility.

The performance of the component itself is constantly improving, so we recommend trying to use Flexmonster without the Compressor.
Here are our starting guides to connect Flexmonster:

Hope you will find our answer helpful.
Please let us know if you have any further questions.

Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 27, 2024

Hello, Jerome!

Hope you are doing well.

Our team is wondering if you had some time to check out the provided guides on how to connect Flexmonster to your data files without the Compressor. Could you please let us know if there are any further questions?

Looking forward to hearing from you.

Kind regards,
Solomiia

Public
Jerome Rioux August 27, 2024

Hey. I can connect fine but I was looking for ways to compress the data. I can see and access the code for the compressor methods, would it be allright if I use it in the future (Let's say it stops working and you don't fix it because it's deprecated. I would re-write it with a couple of changes) ?

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 28, 2024

Hello, Jerome!

Thank you for getting back to us.

Kindly note that we don't mind if you need to make minor changes in Compressor code.

At the same time, Flexmonster now provides newer approaches for working with larger datasets. If you are looking for ways to improve the performance with Flexmonster, we also recommend checking out Flexmonster Data Server: https://www.flexmonster.com/doc/intro-to-flexmonster-data-server/.

You can also read more about the latest approaches to handling big data sources in our article: https://www.flexmonster.com/blog/how-to-choose-the-best-data-source-to-use-with-flexmonster/#server-side-data-sources.

Looking forward to hearing from you.

Kind regards,
Solomiia

Please login or Register to Submit Answer