Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35380

data render not working

$
0
0

Hi Guys,

Let's say we have this scenario

some json data:

{ "content" : [ { "level1" : [1, 2 ,3]
}, { "level2" : [5,6,7] } ] }

I'm trying to render level1 and level2 into different columns but I cannot find the right work to make the render works,

data = myjsonresponse; var table = $("#mytable").DataTable({ data: data, stateSave: true, { data : content, render : {filter : "level1", display: "level1" } });

It breaks on error when rendering, any ideas?

Thanks in advanced.


Viewing all articles
Browse latest Browse all 35380

Trending Articles