I am having some problem mapping a column to a specific field in a JSON object.
Each of the row in my data has the following structure:
{
name: "Paul",
status: {
id: 1,
value: 'Single'
}
}
I am trying to map a column to status.id. I have tried the follow, but it doesn’t seem to work:
{
columns : [
{ id: 'status', map:'#status.id#', editor:'select'
]
}
The purpose for doing this is so that I can use the select editor to update the ID of status.