DataTable and Nested Array Data with Html Formating.

DataTable and Nested Array Data with Html Formating.

JYooJYoo Posts: 1Questions: 1Answers: 0

Hello,

The below is my sample Json Data. and I would like to use <ul><li> html format with "summaryList" array. json
"data": [ {
"regulation": "C.02.004 - Premises", "summaryList": [
"aaaa.\n", "bbbbl.\n",
"ccccc." ],
"summaryNo": "1" }
```]

The below is for I would like to display.

Html Observation Number RegulationSummary of Observation
1C.02.006 - Personnel <ul> <il>aaaa</li> <il>bbbb</li><il>cccc</li> </ul>

Here is the code.
jQuery window["wb-tables"] = {
"processing": true, "ajax": {
"url": reportCardUrl, },
"columns": [ { "data": "summaryNo" },
{ "data": "regulation" }, { "data": "summaryList[,]"}
] }

Any Idea would be greatly appreciated. Thank you.

This discussion has been closed.