scrollX=true breaks IE8

scrollX=true breaks IE8

jpearsonjpearson Posts: 1Questions: 0Answers: 0

hi,
setting scrollX=true (or 100%) is causing the following script error in IE8:

Message: Invalid argument.
Line: 57
Char: 471
Code: 0
jquery.dataTables.min.js

I've two example pages here, one where scrollX=true and one where scrollX=false
If I load these pages in IE8, I get the script error for the one where scrollX=true

http://sungard1.coastlinesolutions.com/dataTables/scrollx_true.htm

http://sungard1.coastlinesolutions.com/dataTables/scrollx_false.htm

These are trimmed down pages, whether horizontal scrolling is required or not the behaviour is the same in IE8
anyone had this?

jquery 1.10.2
datatables 1.10

thx

Replies

  • wboykewboyke Posts: 2Questions: 0Answers: 0

    Currently fighting with it. Setting sWidth for each column clears that problem. ie8 throws a NaN for sWidth if it does not exist. However it now gives me offset and repeated headers.

    The locked header is offset and the second one scrolls with the tbody.

This discussion has been closed.