Hello.
I'm using custom JSON as Ajax source and the problem is that only first string from each row is printed into the table.
Screenshot of the final rendered table: https://www.dropbox.com/s/d4zhklk1p14fphf/Screenshot 2014-01-10 13.39.33.png
Sorry for the screenshot, my web is in localnet without access from the outside.
Can someone tell my what is wrong? Thank you in advance.
My JSON:
And table code and initialization sequence:
I'm using custom JSON as Ajax source and the problem is that only first string from each row is printed into the table.
Screenshot of the final rendered table: https://www.dropbox.com/s/d4zhklk1p14fphf/Screenshot 2014-01-10 13.39.33.png
Sorry for the screenshot, my web is in localnet without access from the outside.
Can someone tell my what is wrong? Thank you in advance.
My JSON:
{ "Sortlist" : null, "Comments" : null, "Options" : null, "Nameservers" : [ "192.168.4.254", "62.168.96.4", "8.8.8.8" ], "Domain" : null, "Searchlist" : [ "in.example.com" ] }
And table code and initialization sequence:
<table id="table-dnsdata" class="table table-bordered table-striped table-hover dataTable"> <thead> <tr> <th >Nameservers</th> </tr> </thead> <tbody> </tbody> </table> $('#table-dnsdata').dataTable( { "sAjaxSource" : "dns_data.json", "sAjaxDataProp" : "Nameservers", "oLanguage" : { "sUrl" : "/assets/js/dataTables-en.UTF-8.txt" }