Skip to content

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

@valdo77

Description

@valdo77

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 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions