I get error "Cannot read property 'mData' of undefined"

I get error "Cannot read property 'mData' of undefined"

agusddtagusddt Posts: 2Questions: 0Answers: 0
edited February 2015 in Free community support

No functionality is loaded, just CSS.
Somehow, within the same ruby on rails application in some places it works and in others doesn't (just different action and controller), and I get error "Uncaught TypeError: Cannot read property 'mData' of undefined" on chromes' developer console.

I even compared HTML SOURCE of both pages (the one working and the one that doesn't and i cannot find a difference).
any one has a clue? Thanks in advance!

...
Uncaught TypeError: Cannot read property 'mData' of undefinedjquery.dataTables.min.js?body=1:90
(anonymous function)jquery.js?body=1:612
jQuery.extend.eachjquery.dataTables.min.js?body=1:90
(anonymous function)jquery.js?body=1:612
jQuery.extend.eachjquery.js?body=1:242
jQuery.fn.jQuery.eachjquery.dataTables.min.js?body=1:83
pjquery.dataTables.min.js?body=1:158
g.fn.DataTable(index):199 (anonymous function)jquery.js?body=1:975
jQuery.Callbacks.firejquery.js?body=1:1083
jQuery.Callbacks.self.fireWithjquery.js?body=1:407
jQuery.extend.readyjquery.js?body=1:84
DOMContentLoaded
...

Replies

  • agusddtagusddt Posts: 2Questions: 0Answers: 0

    I solve it!!

    I had two columns using <td colspan="2"></td> inside the table, and that was messing everything.

    thanks anyways.

This discussion has been closed.