Is there any way in which an IF statement can be supported as part of the cell formula - same as in Excel?
If a cell formula is set as non-editable and contains two inputs from cells which themselves are results of other formula calculations, it does not update when all inputs are provided, but shows #VALUE! instead.
This does not happen if the cell with the formula is either editable (not locked) and you click on it or if there is only one input that results from a cell which itself contains a formula. The problem only happens if inputs come from two cells which have their own formulas.
When it comes to the issue with the non-editable formula can you send me an example? I’ve made one here Handsontable example - JSFiddle - Code Playground when I used 2-level formula dependency and an editor: false setting but it works as expected.
we did not make any changes to the formula plugin for a long time but it may be related to some other settings that are interfering.
Here https://docs.handsontable.com/pro/3.0.0/tutorial-release-notes.html are our release notes that you can track down and check if something may be related.
If you’d have some issues related to upgrading to 3.0.0 I can try to help you.
@aleksandra_budnik
The implementation which has this problem is done with Angular 1.5. I know that Handsontable supports Angular implementation in general. Can you advise in any way or do you need more info and if yes what would be most helpful for you to provide more insight?
If you’re using our wrapper ngHandsontable for Angular 1 then it may not be fully functional with the latest versions of Handsontable (PRO or CE). We did not update the wrapper for a long time.
Hi @aleksandra_budnik,
Yes, we are using ngHandsontable for Angular 1 and PRO version 1.9 of Handsontable. Should these two be fully compatible to allow IF statements and formulas which use other formula results as inputs?
The formula plugin is still in alpha stage of development and we do not recommend to use it on the production. If you can use a native js (for example Math) it would be less buggy. Since v 1.9 there were only 3 updates for the whole plugin (release notes: https://docs.handsontable.com/pro/3.0.0/tutorial-release-notes.html) and I am not sure if any of those would help in this case.
@aleksandra_budnik
Can you please advise about difference between Basic and Extended support types and will any license renewal enable access to the latest pro version 3.0 or we need Extended support for that?
@aleksandra_budnik
Thank you for further info. We noted one thing - when loading a trial of pro 3.0 version, the formulas in our Angular implementation which previously did not work, started working. However, I am not 100% sure if that can be attributed to the new version or is it a circumstantial effect which could have happened for some other reason?
Great to hear that it works better with newer version.
I think that it may be related to some rendering or indexes fixes rather than formulas plugin itself.
A single formula calculation uses the core, editors, validators, renderers and the hook logic so there are a lot of options that can change the behavior.