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

isEditableDataprovider only works with null #110

Open
r4inX opened this issue Sep 4, 2024 · 1 comment
Open

isEditableDataprovider only works with null #110

r4inX opened this issue Sep 4, 2024 · 1 comment

Comments

@r4inX
Copy link

r4inX commented Sep 4, 2024

Hey guys,

i think i found a bug (or is it a feature?)

the isEditableDataprovider only works with null.
If i return 0 or false, the cell is still editable.

I can workaround with the return null calculation for now, it would be great if its fixed in future releases OR the documentation is udpated on this issue.

Thanks!

-Vik

@gboros
Copy link
Collaborator

gboros commented Sep 6, 2024

hi,
I think this is because the type of the dataprovider (calculation) you're using is TEXT? Returning a number, 0 in this case, it will be transformed to '0', and that is not a null value ... The type of the dataprovider must be NUMBER.

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

2 participants