Empty data result
Empty data result

Hi,
I have a js error when my research is empty.
line 3118 nTd is undefined
nTd = nTrIn ? anTds[i] : document.createElement( oCol.sCellType );
nTd._DT_CellIndex = {
row: iRow,
column: i
};
I added a console.log(nTd) and it's displayed 2 times.
This is the second time nTd has been undefined.
Someone already had this error?
Thank you in advance for your answers.
Marie
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
Hi @mapin ,
Is this related to DataTables, there's no mention of it in the code? 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