Hello team!
I am using a data source where every cell is an object.
let data = [
[{}, {}, {}],
[{}, {}, {}],
];
Every cell is an object containing the user input as well a resolved expression, which is resolved at a specific time and then cached.
These are both valid objects in my data source:
{ value: '=10+3', resolvedValue: null }
{ value: '=10+3', resolvedValue: 13 }
I wrote a custom renderer
which displays resolvedValue
if available else value
.
The issue is when a user edits the cell. I am not able to show value
, but it appears [object Object]
.
I am not able to select the object property with cells
function.
Is there any way to achieve what I want?
Have I to produce a simple array of array of primitive values from my data source?
Should I write a custom Editor?
Thank you very much for the help!