I've come back to this and still need help. The problem I am having is that after I select an option in the drop down the value turns into the id - instead of staying as the string value. It is also not sending the value of the id when an update is made.
The json string is:
[{"commandid":6,"command":"Talk"},{"commandid":5,"command":"Sit"},{"commandid"
:16,"command":"stand"},{"commandid":14,"command":"bark"}]
The code I'm currently trying is below. I've tried many variations with no luck:
{ dataIndx: "commandid", hidden: true },
{ title: "Type", minWidth: 30, width: 100, dataIndx: "command",
editor: {
type: 'select',
options: arrCommands,
mapIndices: {"name": "command", "id": "commandid"},
valueIndx: "command",
labelIndx: "command"
}
},
I would appreciate it if you could give me some insight on what I'm doing wrong here
TIA!