Uncaught TypeError: a is null
Uncaught TypeError: a is null
ArnaldoFr
Posts: 1Questions: 1Answers: 0
Debugger code (debug.datatables.net):
var patentes = $("#patentes").val();
var ramos = $("#ramos").val();
var asecs = $("#asecs").val();
var vaga = $("#vaga").val();
$('#lista').dataTable({
"destroy": true,
"order":[[4, "desc"]],
"pageLength": 25,
"responsive": true, "lengthChange": true, "autoWidth": false, "ordering": true, "searching": true, "info": true, "paging": true,
"processing": true,
"ajax": {
"url": "teste_fetch.php",
"type": "POST",
"data": {patentes, ramos, asecs, vaga }},
"columns": [
{data : 'MIL_NIP'},
{data: 'POSTO_ABREV'},
{data: 'MIL_NOME'},
{data: 'MIL_CARGO'},
{data: 'TEMPO'},
{data: 'PROFILE'} ,
{data: 'ADD'}
]
})
Error messages shown: Uncaught TypeError: a is null
Description of problem: I get this error whenever i select more the 170 rows from my database
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin