TypeError: Cannot set property 'width' of undefined
TypeError: Cannot set property 'width' of undefined
reddo
Posts: 6Questions: 0Answers: 0
Hi. I get the following error when using datatables on a table:
[code]TypeError: Cannot set property 'width' of undefined [/code]
from dataTables.fixedColumns.min.js:27
DataTables Debugger
http://debug.datatables.net/aqokel
dataTables live:
http://live.datatables.net/taxudug/2/
I checked and double checked to have the same number of columns everywhere, I do have thead, tbody and tfoot defined, the cells in the thead and tfoot are all 'th's
[code]TypeError: Cannot set property 'width' of undefined [/code]
from dataTables.fixedColumns.min.js:27
DataTables Debugger
http://debug.datatables.net/aqokel
dataTables live:
http://live.datatables.net/taxudug/2/
I checked and double checked to have the same number of columns everywhere, I do have thead, tbody and tfoot defined, the cells in the thead and tfoot are all 'th's
This discussion has been closed.
Replies
The errors I am seeing are:
[code]
[Error] Error: Syntax error, unrecognized expression: a[data-toggle=popover
[Error] ReferenceError: Can't find variable: remoteWindow
[/code]
Allan
http://live.datatables.net/hipilix/2/
I'm currently using Chrome.
The exact error I'm getting is:
`Uncaught TypeError: Cannot set property 'width' of undefined dataTables.fixedColumns.nightly.min.js?_=b05e6fcc5f5be1e9c9cc732c1c5b4d3c:27`
It was the same when I used the released version of fixedColumns instead of the nightly.
With firefox I get `TypeError: this.style is undefined` on the same line (27) of fixedColumns.
Also the columns in the header and footer are misaligned in safari... I might have more problems that a simple script error :/
Not sure why it isn't working in Safari - I see that issue as well, but not in Chrome. That will take a bit of debugging unfortunately. I'll look at the colspan issue first, hopefully later today, depending on how things go!
Allan