Datatables Rendering problem
Datatables Rendering problem
f.dalpozzo
Posts: 8Questions: 0Answers: 0
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]
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]
This discussion has been closed.
Replies
Allan