DataTables warning (table id = 'management'): Requested unknown parameter '5' from the data source

DataTables warning (table id = 'management'): Requested unknown parameter '5' from the data source

jlivingstonjlivingston Posts: 13Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
datatables support code: uyuzih

Any ideas on why I am getting the unknown parameter error?

$('#management').dataTable({
"bJQueryUI": true,
"bSort": true,
"bLengthChange": false,
"bDestroy": true,
"bPaginate": true,
"bProcessing": true,
"bScrollCollapse": true,
"bAutoWidth": true,
"sDefaultContent": "",
"aoColumn": [{

"fnRender": function (o) {
return '';
}, "aTargets": [5]
}]
})

(tr from table 'management'

<%= recset("username") %>
<%= Trim(recset("FName")) %>
<%= Trim(recset("LName")) %>
<%= Trim(recset("Phone1")) %>
<%= Trim(recset("SubEmail")) %>

Replies

  • jlivingstonjlivingston Posts: 13Questions: 0Answers: 0
    Found it, I had to add the "sDefaultContent": "", here not above where I had put it.....

    "fnRender": function (o) {
    return '';
    }, "sDefaultContent": "", "bUseRendered": false, "mDataProp": null, "aTargets": [5]
This discussion has been closed.