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

WIP: add python eval/exec to cells #188

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chaffra
Copy link

@chaffra chaffra commented Jan 29, 2021

Hello,
I'd like to propose this PR. It's still a WIP but the idea it to be able to type in python expression in cells and have them executed by the Cell widget on the backend. The backend part seems to be working. You can do something like:

sheet1 = sheet(rows=2,columns=2)
display(sheet1)
c00 = cell(0,0,value=1.0)
c01 = cell(0,1,formula='S[0,0].value*2')

If you then change c00, c01 is updated.

I'd like some guidance working on the js side. How do I modify the hot object so that when I edit a cell it shows the attribute formula instead of value?

@shaunc
Copy link

shaunc commented Mar 11, 2021

Great idea! :)

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

Successfully merging this pull request may close these issues.

2 participants