Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82031

How can i display value of object array with DataTable

$
0
0

Hi,

I'm having this problem, I'm trying to display those values with DataTable. But I got this error message.

'DataTables warning: table id=tbl_method - Requested unknown parameter 'Cleasning' for row 0, column 0.'

Hope someone can advise me where is my mistake. Thank you

--- Here is my sample json data:
[
{
"report_root_cause_cause_id":"1",
"cause_desc":"Cleasning",
"cause_category":"method"
},
{
"report_root_cause_cause_id":"2",
"cause_desc":"Bone",
"cause_category":"material"
}
]

--- Here is my js code:


Viewing all articles
Browse latest Browse all 82031

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>