I'm very new to this whole area of js and datatables.
How can this be represented in datatables
var data = {"jaxm":
{
"name": "Tiger Nixon",
"position": "System Architect"
},
"jaxb" :
{
"name": "Garrett Winters",
"position": "Accountant"
}
}
I tried
$(duTable).DataTable({
data: data,
});
not sure if this possible without arrays or not but even I couldnt print single row in datatables using
$(duTable).DataTable({
data: data.jaxm,
});