How to display data of C# type Dictionary
How to display data of C# type Dictionary

I have a sample response from a webservice call that looks like:
{draw: 1, recordsTotal: 17, recordsFiltered: 17,…}
data: [{appName: "Sustainable Resource Development - Home Page & Forest Protection Site",…},…]
0: {appName: "Sustainable Resource Development - Home Page & Forest Protection Site",…}
1: {appName: "SharePoint (ARD)",…}
2: {appName: "SharePoint (ARD)",…}
appName: "SharePoint (ARD) "
contactsRoles: [{key: "N1", value: "SpOwner1"}, {key: "N2", value: "SpOwner1"},…]
ministry: "Ministry"
serversUrls: {S1: ["URL"], S2: ["URL"]}
S1: ["URL"]
S2: ["URL"]
zone: "ZONE"
draw: 1
recordsFiltered: 17
recordsTotal: 17
I am trying to display the serversUrls portion but am running into issues. If i display the data by using only {"data": "serversUrls", "sortable": "false","title":"Servers"} i get [object Object] as an output. I have tried using the render function function that returns data, and I am met with the same result. How can i display this type? Iam sending a Dictionary<string,List<string>> to the front-end via C#
Answers
Hi @rahsharm77 ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin