var detailTable;
var openDialog = function(id) {
detailTable.fnReloadAjax( 'service/detail/'+ id );
console.log(detailTable);
$("#detailsBlock").modal({
overlayClose:true,
opacity:70,
overlayCss:{backgroundColor:"#eee"}
});
}
Problem appear after second call(first one after page load works perfect) openDialog. DataTables just "Processing" my server tell in log that everything fine and data has been send. I just use fnReloadAjax from this page http://datatables.net/plug-ins/api. And there is no mention about that problem.detailTable = $('#details').dataTable({
/*"sAjaxSource":"service/details",*/
"bProcessing":true,
"bServerSide": true,
"bDestroy": true,
/* "bDeferRender":true,*/
"aoColumns":[
{ "mDataProp":"lineNumber" },
{ "mDataProp":"supplierItemCode" },
{ "mDataProp":"itemDescription" },
{ "mDataProp":"invoiceQuantity" },
{ "mDataProp":"invoiceUnitNetPrice" }
], "fnServerData":connectPost
});
Any ideas? :) It looks like you're new here. If you want to get involved, click one of these buttons!
Get useful and friendly help straight from the source.