We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Decimal Points showing issue

Answered
Ravi Kumar asked on April 5, 2021

Hi,
I tried to importing a data source with 3 records.
Flexmonster is not showing the exact data which i passed in data source.
Please suggest any solution to resolve this issue.
For your reference I'm attaching the data source i passed along with the view of flexmonster for my data.
I tried with both default provided in a flexmonster live example and requirement based adjusted configurations from our end, still in both ways data view is not matching.
Kindly verify and provide any approach to solve this.
 
Regards,
Ravi

11 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 6, 2021

Hello, Ravi,

Thank you for reporting the issue.
 
We will research the possible reasons for this behavior and provide you with the results ETA May 03.
As a temporary workaround, we suggest using the number formatting to truncate the value to the desired number of decimals. Please see the JSFiddle we have prepared for reference: https://jsfiddle.net/flexmonster/dmq9obwk/.
 
We hope it works for you.
Please contact us in case other questions arise.
 
Regards,
Illia

Public
Ravi Kumar April 7, 2021

Hi Illia,
Thanks for the quick response.
I don't think the suggested workaround solution will suit our requirements.
If you don't mind could please provide the proper solution quicker, because May 03 is a long time to wait.
And currently we're using version 2.8.10, and whenever a new version comes we cannot manually change the version number. Is there any alternative way to update the version automatically in package.json file?
 
Regards,
Ravi

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 7, 2021

Hello,
 
Thank you for your feedback.
 
Could you please specify why the workaround with number formatting is not an option for your case? It would allow us to search for another applicable workaround.
 
Concerning the given ETA, I would like to inform you that our estimated bug fixing time is up to 6 weeks for the Standard support option. As much as we strive to meet our customers' needs more promptly, our hands are tied by our road map. Considering that it is full for the upcoming weeks, unfortunately, we won't be able to deliver the fix earlier than the estimated time.
 
As for updating to the latest version, please see our guide to learn all possible ways to update Flexmonster: Updating to the Latest Version.
 
We rely on your understanding. Please contact us in case other questions arise.

Regards,
Illia

Public
Ravi Kumar April 8, 2021

Hi Illia,
Percentage column data cannot restricted to 4 decimals due to vary in values, it comes with more than 4 decimals also, so we're just displaying the data as it is.
And we cannot change that data type to "string" because by doing so text will align to different side.
And we're dealing with several kinds of data (dynamic data), for that we made flexmonster as common tool to view and this Percentage column may/maynot come so we cannot restrict it for this data alone.
Regarding flexmonster update, in package.json file we're mentioning version number. However i seen somewhere instead of mentioning specific number something like "^update" / "^recent" which always consider recent version number.
Is there any above kind of process is available?
 
Regards,
Ravi

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 8, 2021

Hello, 

Thank you for providing us with detailed information about the use case.
We did not manage to find a suitable temporary workaround for you. Still, we will notify you as soon as the issue is fixed.
 
Concerning updates, you can specify which update types your package can accept from dependencies in your package's package.json file. For example, updating to the npm patch releases (our minor releases) can be allowed with a ~ prefix: "~2.8.30". Updating to the npm minor releases (our major releases) can be allowed with a ^ prefix: "^2.8.30". The ^ prefix also updates the version to the latest patch.
After the new Flexmosnter version is released, update your package using the npm update command.
For more information, we suggest referring to the npm documentation to learn more about the versioning process: About semantic versioning | npm Docs (npmjs.com).
 
We hope it helps.

Regards,
Illia

Public
Ravi Kumar April 9, 2021

Hi Illia,
 
Thanks for information. I will refer to NPM documentation and conclude.
Please try to provide the updated release a little quickly for the above mentioned decimal places issue.
 
Regards,
Ravi

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 12, 2021

Hello,
 
Thank you for your feedback.
 
Concerning the update, please note that minor versions are released bi-weekly and cannot be rescheduled. The fix is planned for the nearest available minor release according to our road map. Therefore, we won't be able to deliver the fix earlier than the estimated time.
 
Our team relies on your understanding.
Do not hesitate to contact us in case other questions arise.
 
Regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 3, 2021

Hello, Ravi,
 
We are happy to let you know that the issue with adding unwanted decimal parts for specific numbers while formatting was fixed.
 
This is available in the 2.8.32 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Feel free to write to us in case of questions.
 
Best regards,
Illia

Public
Ravi Kumar May 6, 2021

Hi Illia,
I changed the version in package.json to 2.8.32.
Tried to update the flexmonster, while doing it we're facing an Proxy issue.
Please check the attachment for clear error.
Kindly suggest alternate solution.
Regards,
Ravi

Attachments:
Screenshot (385).png

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 6, 2021

Hello,
 
It seems to be an error with the NPM proxy configuration.
We suggest referring to NPM documentation for possible solutions. Also, you may want to check out the following thread dedicated to a similar issue.
 
Also, note that Flexmonster CLI needs to be installed before you can access its functionality.
Further details can be found in our documentation: Get Flexmonster.
 
Regards,
Illia

Public
Ravi Kumar May 6, 2021

Hi Illia,
Already Flexmonster CLI installed, trying to update and changed the package version in package.json file and executed the command npm i and got that proxy.
As you suggested will look into NPM documentation and try to resolve the issue.
 
Regards,
Ravi

Please login or Register to Submit Answer