Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is there any way to pass data as a formula and it gets evaluated automatically #324

Closed
mohit-11-dev opened this issue Aug 8, 2023 · 1 comment

Comments

@mohit-11-dev
Copy link

Hi,
I am trying to implement top formula bar which goes hand in hand with cell just like google sheets
image

Steps:

  • pass data as const data = [
    [{ value: "1" }, { value: "4" }],
    [{ value: "=SUM(A1+B1)" }, { value: "3" }],
    ];
  • it should automatically display sum of 1+4 and on data edit mode should show formula similar to how it works in we provide this formula on cell edit but it
  • I am updating data on a formula bar input box change where user could pass a formula but I am seeing only formula string if I send data as this formula string.
@iddan
Copy link
Owner

iddan commented Aug 8, 2023

This is an interesting use case. So you would need some way to get the evaluated formula cell from the spreadsheet?

Repository owner locked and limited conversation to collaborators Aug 8, 2023
@iddan iddan converted this issue into discussion #325 Aug 8, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants