I noticed that the properties ‘infinityValue’ and ‘divideByZeroValue’ are not configurable in the FormatCell form.
Is it possible to add them?
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:
flexmonster.cssfile inside the
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.
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?
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.