I do not have good news. PRO won’t work with RuleJS as PRO has been added to version 0.20.3 of Handsontable and RuleJS is updated to version 0.14.1.
However, RuleJS should do the same calculations as Formula Plugin which is a part of Handsontable PRO.
Currently, RuleJS and Formula Support plugins do not support drag and drop of the formula. And the only workaround for it is to use the beforeAutoFill hook to replace values for the formula strng.
Also I have tried your suggestion using beforeAutofill and it does not give me the location of the source cell so there is no way to get hold of the original formula. Please advise.
Yes, we will be adding the changes in 2018 accordingly to what you have found on our Trello. I think that the list will just be copied to Trello for 2018.
And I can agree that without populating the formulas it’s hard to call it a complete plugin. That is why it’s still alpha.
In this case, it’s pretty easy. We just need to change B1 to B2 and then to B3. As you rightly spotted we should just use the $B1 in the first cell on the C column and that’s it. However, as it hasn’t been implemented yet (can call it a bug as well) we would need to iterate.
Hey @pete, I just finished implementing formula drag myself. I used the modifyAutofillRange hook which includes the corners of the source of the drag and the afterAutofillInsidePopulate hook which is called for each cell being updated and includes the direction of the drag to be able to get enough information to calculate the new cell references. You can manually call a recalculate when you finish to get the formulas to convert to values. Hope that helps