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

No matching records found

$
0
0

Good afternoon guys. I'm developing a web app using Spring MVC; basically, i must query a db for some data and show them into html table, updating the div elements of the home page. Thedata are returned from Controller as Json using the Jackson framework.

I'm using DataTables to show results but i got this discussion title message.

This is my code about the use of Data Table:

```

$(document).ready(function() { $('#firewalldata').dataTable( { "processing": true, "serverSide": true, "ajax":{ url: "../getfirewall.json", type: "post", dataSrc: '' }, "columns": [ { "data": "id" }, { "data": "ip" }, { "data": "info" }, { "data": "name" } ] } ); } );

```
The url of Ajax section is the same of my Spring controller; i've tried to format Json data with bost serialize() and serializeArray().

Thank you in advance for response and if you need my other code, tell me and i'll provide it.


Viewing all articles
Browse latest Browse all 82399


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