Model.value.text is not working!

I have a use-case to get the data from the cells based on their cell metadata and previously have been using model.value.text. But it is throwing error of Property ‘value’ does not exist on type ‘ICellModel’.ts(2339).

How can I get the thing done?

with jlab4 my understanding is you need to write instead model.sharedModel.getSource()

Yes, the docs + chatgpt are still recommending this one quite a bit.

I used:


which seems to be a 1:1 replacement.

1 Like