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

Setting the readonly property to true makes the cell value disappear #1729

Open
valdo77 opened this issue Jan 29, 2025 · 0 comments
Open

Setting the readonly property to true makes the cell value disappear #1729

valdo77 opened this issue Jan 29, 2025 · 0 comments

Comments

@valdo77
Copy link

valdo77 commented Jan 29, 2025

Hi, i have a strange behavior in my code
I'm trying to add dynamically a column to my jexcel instance,
Everything is fine for the first added data, I can set columns to readonly.
When i set my column to readonly, the value of the cells disappears, it is not present in the DOM either. But the value is still passed in the method excel.setRowData.

Image

This is the dynamic object that I construct and I pass as a property of my column. If I change readonly to true, the value of the cells concerned disappears.

Image

This is where I add the raw data, in rawdata object i can see the value but nothing in my sheet view.

I would really appreciate it if anyone has a solution to this problem 😃.
thanks in advance 🙏

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