Datatables Rendering problem

Datatables Rendering problem

f.dalpozzof.dalpozzo Posts: 8Questions: 0Answers: 0
edited December 2011 in General
It happens every so often this problem. I saw that there are other posts discussing this but the solutions do not seem attributable to my case I try to document the better.
They are within the ASP.NET and I have a gridview.
The error is (especially with IE7 and IE8)
[quote]"Warning DataTables (table id = 'ctl00_content_grdChiamate'): Requested unknown parameter '9 'from the data source for row 0"[/quote].

What can be the problem? Thanks in advance.

DATATABLES CODE
[code]
$("[id$='grdChiamate']").dataTable({
"bFilter": true,
"bSortClasses": false,
"iCookieDuration": 60 * 60 * 24,
"bStateSave": true,
"iDisplayLength": 8,
"aLengthMenu": [[8, 10, 20, 50, -1], [8, 10, 20, 50, "Tutti"]],
"bJQueryUI": true,
"aoColumns": [
{ "bSortable": false, "bSearchable": false, "sWidth": "5px", "sClass": "center" },
{ "sType": "datetime" },
{ "sType": "html" },
{ "sType": "html" },
{ "sType": "html" },
{ "sType": "html" },
{ "sType": "html" },
{ "sType": "html", "bSearchable": false, "sWidth": "5px", "sClass": "center" },
{ "bSortable": false, "bSearchable": false, "sWidth": "5px", "sClass": "center" },
{ "bSortable": false, "bSearchable": false, "sWidth": "5px", "sClass": "center" }
]
});
[/code]

ASPX CODE
[code]


<%--0 Colonna dei comandi --%>





<%--1 Data Immissione --%>


<%# Eval("CDDHAP") %>


<%--2 Tecnico HD --%>





<%--3 Ente --%>





<%--4 Tecnico chiamante --%>





<%--5 Matricola --%>





<%--6 Tipo Richiesta --%>





<%--7 Matricola --%>





<%--8 Stato --%>






<%--9 delete --%>








Nessuna chiamata trovata.


[/code]

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    What does the json return from the server look like when you get that error (you can see the json return by using firebug).

    Allan
This discussion has been closed.