Error: DataTables warning (table id = 'customers'): Requested unknown parameter '0' from the data source for row 0
Creating the datatable:
JSON from server:
/ignore.. see comment below
Creating the datatable:
var oTable = $('#customers').dataTable({ "sDom": 'CRT<"clear">lfrtip', "oTableTools": { "sSwfPath": "/resources/global/lib/dataTables/swf/copy_csv_xls_pdf.swf" }, "bProcessing": true, "bServerSide": true, "bStateSave": true, "aaSorting": [[1, "asc"]], "sAjaxSource": "/private/customer_leads/datatable_index", "sScrollX": "100%", "bScrollCollapse": true, "aoColumns": [ {"sName": "primary_agent"}, {"sName": "customers_full_name"}, {"sName": "customers_birthday"}, {"sName": "customers_company"}, {"sName": "customers_home_phone"}, {"sName": "customers_cell_phone"}, {"sName": "customers_assistant_phone"}, {"sName": "customers_email_address"}, {"sName": "customers_primary_address"}, {"sName": "customers_primary_city"}, {"sName": "customers_primary_state"}, {"sName": "customers_primary_zip"}, {"sName": "control_reassign"}, {"sName": "control_reassignA"} ], "oLanguage": {"sSearch": "Search customer name:"} });
JSON from server:
/ignore.. see comment below