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

change value of B1 on condition #49

Open
jy2008 opened this issue Sep 14, 2017 · 0 comments
Open

change value of B1 on condition #49

jy2008 opened this issue Sep 14, 2017 · 0 comments

Comments

@jy2008
Copy link

jy2008 commented Sep 14, 2017

<script>
    $('#calx_form').calx({
        data : {
            B1 : {value: '100'},
            B2 : {value: '200'},
            B3 : {formula: 'B1+B2'},
            B4 : {formula: 'B3^2'}
        }
    });
</script>

for above script, can i revise this script to if I check the checkbox (assume B1 is the cell of a checkbox), B1 value is 10, then if i uncheck the checkbox, then B1 value is 20?

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