Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indirect cells containing a registered variable not working #57

Open
devops-at-alinea opened this issue Sep 28, 2018 · 0 comments
Open

Comments

@devops-at-alinea
Copy link
Contributor

If I register a variable and indirectly reference it, it won't be processed properly:

$('#my_sheet').calx('registerVariable', 'my_var', 2);
var my_sheet = {
A1: {value: my_var},
A2: {formula: "IF(A1=my_var, 1, 0)"},
A3: {formula: "IF(my_var=my_var, 1, 0)"}
};
A1 = 2
A2 = 0
A3 = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant