Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

infinityValue and divideByZeroValue not configurable

Ilaria asked on November 26, 2019

I noticed that the properties ‘infinityValue’ and ‘divideByZeroValue’ are not configurable in the FormatCell form.
Is it possible to add them?
Thank you!

3 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 27, 2019

Hello, Ilaria,
Thank you for reaching out to us.
Adding desired settings can be implemented through customizing Toolbar. We have prepared the file containing the FlexmonsterToolbar.prototype.showFormatCellsDialog method that will add the functionality you need. The original method of the Toolbar has to be replaced with the content of the file you can find in attachments.
If you are using npm to update the component, we kindly recommend following the instruction below to prevent additional functionality disappear every time you update Flexmonster:

  1. When including Flexmonster in your project, use flexmonster.full.js instead of flexmonster.js.
  2. Add a link to the flexmonster.css file inside the <head> tag.
  3. Copy an attached file to the directory you want it to be placed in.
  4. Indicate the path to the new file right after flexmonster.full.js is connected:
    <script type="text/javascript" src="path/flexmonster.full.js"></script>
    <script type="text/javascript" src="path/extendedToolbar.toolbar.js"></script>

Such an approach allows saving additional features even after updating of the component.
We hope it helps.
Feel free to contact us in case of any additional questions occur.
Kind Regards,

Ilaria November 28, 2019

Just another question regarding the customization approach you suggest: what about possible fix or new feature you will release? I mean: if I overwrite the function FlexmonsterToolbar.prototype.showFormatCellsDialog and in the next releases you modify that function I should manually merge the two implementations. Am I right?
Thank you,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 28, 2019

Hello, Ilaria,
Yes, you are right. The necessity of merging with Flexmonster’s updates is the main disadvantage of such an approach.
Please let us know in case of any other questions.

Please login or Register to Submit Answer