Topic: Error with datatable.js
Grf free asked 5 years ago
Hi,
on my development-site have a page using the datatable.js addon. However this is giving me a nasty error. See below. The link to the page is: error on table page Besides this error, it also prevents the use of the functionality of this add-on. If I run the same code / files etc. on localhost, I don't get an error and all datatable functionality runs as expected?????
Error shown in the debug console:
jQuery.Deferred exception: undefined has no properties at@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:19402 W@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:15320 B/<@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:15425 map/<@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:1505 map@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:3359 map@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:1473 B@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:15390 _@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:7600 I/<@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:7783 each@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:2770 each@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:1419 I@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:2812 U.fn.DataTable@https://develop.uisge-beatha.eu/assets/dst/js/es5/datatables.js:8:82318 @https://develop.uisge-beatha.eu/departure-times-and-tides:34:23 e@https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:29310 l/https://develop.uisge-beatha.eu/assets/dst/js/es5/jquery.js?fes=1:8:29612 undefined
How can this be fixed?
Grf free answered 5 years ago
Hi,
Was not able to close the message. It's solved. The root cause was that one of the rows was missing a column. This seems causing an error like this. I came across the cause because Google Developer an error related to _DT_CellIndex.
Best, Grf
Adam Jakubowski staff answered 5 years ago
Hi,
Could you clarify your problem because I checked it and all works correctly
Best,
Adam
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.2
- Device: Mac Book Pro
- Browser: Firefox Developer
- OS: OSX
- Provided sample code: No
- Provided link: Yes