Another Requested unknown parameter '0' for row 0, column 0 Problem
Another Requested unknown parameter '0' for row 0, column 0 Problem
http://live.datatables.net/pucuyetu/2/edit
Hi
I'm aware of all the other questions raised to do with this but..
I have one app working perfectly with DataTables but on creating another I cannot get past the data loading problem, as can be seen in my live example copied directly from my code, it should work fine but on Edge I get the modal with "Requested unknown parameter '0' for row 0, column 0" warning and on IE I get the table with ALL the columns filled with null & no warning, so the Surname column is not hidden on either table.
I guess I'm looking at some other problem that's not data related?
Unfortunately I'm behind a firewall so can't use the debugger
Thanks
E
This question has an accepted answers - jump to answer
Answers
I should have said that the number of rows -3 in this case - is correctly reflected on the table
I just tried that on both IE and Edge, and both worked as expected. We would need to see the problem occur to be able to progress this,
Colin
Thanks Colin
Appreciate there's not a lot to do if it works but it's really bugging me too!
I get this from
but no data displays - I may have to try and copy this to my home laptop and try the debugger from there
The best way for this to be resolved would be a test case that reproduces it - that would be more useful than the debugger,
Colin
Thanks - I'll update if I find the answer
Just like to say how much I appreciate what your all doing here - this is a great product!
That suggests you don't have
columns.data
configured. It looks like you are using objects in your test case and console output. My guess is you are using$('#employee-table').DataTable();
to get the API but this is executing before your code to initialize Datatables withcolumns.data
. So the$('#employee-table').DataTable();
is actually initializing Datatables.Kevin
Kevin you were exactly correct!
I included my columns.data options in
$('#employee-table').DataTable(options);
& the table populated perfectly!I had included the DataTables options in my angular module directive as I previously did with my other app but for some reason this didn't work here?
Thank you so much