So the table is on the page
I then use AJAX to return the data
The AJAX is working and returning
However aaData is not populating the table with that Json data. Am i misunderstanding how this works? I have read quite a few forums and posts and they all appear to lead to this type of usage.
<table width="100%" id="ticketListTable" class="genmed"></table>
I then use AJAX to return the data
$.ajax({ type: 'POST', url: "ticketAjax.php", data: '&m=swapTicketList', dataType: "json", success: function(resultData) { $('#ticketListTable').dataTable({ "aaData": resultData, "aaSorting": [[0, "desc"]], "bJQueryUI": true, "bScrollInfinite": true, "bScrollCollapse": true, "bDestroy": true, "bDeferRender": true, "iDisplayLength": 100, "sScrollY": "1000px", "sDom": "Rlfrtip", }); } });
The AJAX is working and returning
[{"ID":["17316","17314","17313","17312","17311","17310","17309","17308","17307"....
However aaData is not populating the table with that Json data. Am i misunderstanding how this works? I have read quite a few forums and posts and they all appear to lead to this type of usage.