Posted 19 December 2019, 2:30 am EST
Hi Sharad I am facing issue with circular references. My requirement is circular references should give similar results compared to excel. Currently I am not getting same result for circular reference compared to excel evaluation. This might be because of iteration count I am not sure. In excel I have set iteration count to 100.
Try below scenario
A1 = B1
B1= C1
C1 =A1 +1
For above circular reference spreadJS gives value of 1000 for A1, B1 & C1 whereas excel gives value A1 → 49, B1 → 50,C1 ->50.
- Users in our app might enter circular references so I want to understand how spreadJS resolves circular dependency and how can I make it consistent with excel output
- If SpreadJS can’t compute circular refs like Excel then I want to know if there is a an API to detect circular referecences so that I can do validation to prevent users from uploading file with circular references