SharePoint 2010 Rendering MultiChoice Fields [object Object]
SharePoint 2010 Rendering MultiChoice Fields [object Object]
gregjss
Posts: 2Questions: 2Answers: 0
I have a similiar problem to mccdg's question SharePoint multiple selection choice field returns "object object". The main difference is that I'm using SharePoint 2010 with ListData.svc.
In my case, when I use the following code to render the expanded data the datatable still displays [object Object]
{ "mData": "ContactMethod",
"mRender": data.d.results.forEach(function(d){
d.multi = d['ContactMethod'].results.map(function(s){return s.Value}).join('; ');
})
},
When I drop d.multi into the console log I see the results I'm looking for but the results are not rendered in the table.
What am I missing?
Thanks in advance.
Greg
This discussion has been closed.