Seemingly random apply of datatable format on different pages of the same site

Seemingly random apply of datatable format on different pages of the same site

repliquantrepliquant Posts: 2Questions: 1Answers: 0

Hi all,

I have been integrating Datatables on my site. On some pages it works fine. On others, none of the features (search, sort, ...) appear on the screen although it slightly modifies the display of the tables.

This error appears and as you can guess, I don't use a variable called nTd :

jQuery.Deferred exception: nTd is undefined _fnCreateTr@http://localhost/e-banking/JAVA/datatables.js:3118:6
_fnAddData@http://localhost/e-banking/JAVA/datatables.js:2435:4
http://localhost/e-banking/JAVA/datatables.js:2463:11
http://code.jquery.com/jquery-3.3.1.min.js:2:1324
map@http://code.jquery.com/jquery-3.3.1.min.js:2:3169
map@http://code.jquery.com/jquery-3.3.1.min.js:2:1292
_fnAddTr@http://localhost/e-banking/JAVA/datatables.js:2461:10
loadedInit@http://localhost/e-banking/JAVA/datatables.js:1293:6
http://localhost/e-banking/JAVA/datatables.js:1318:5
each@http://code.jquery.com/jquery-3.3.1.min.js:2:2571
each@http://code.jquery.com/jquery-3.3.1.min.js:2:1238
DataTable@http://localhost/e-banking/JAVA/datatables.js:881:3
$.fn.DataTable@http://localhost/e-banking/JAVA/datatables.js:15135:18
http://localhost/e-banking/JAVA/xdata.js:4:17
l@http://code.jquery.com/jquery-3.3.1.min.js:2:29373
http://code.jquery.com/jquery-3.3.1.min.js:2:29677
undefined jquery-3.3.1.min.js:2:30920
TypeError: nTd is undefined[En savoir plus]

Any chance I could get some help with this ?

Thanks a lot.

Answers

This discussion has been closed.