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.
Is there an up-to-date version of the extendedToolbar.toolbar.js you linked in an earlier reply?
Thank you for your question.
Our team would like to kindly explain that the mentioned file has been created for the specific case discussed within the current thread.
If you require to complement the updated Toolbar with extended functionality, your are welcome to use the file provided earlier as a template.
Our team hopes it helps.
Please contact us in case additional questions appear.