Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82117

SCRIPT87: Invalid argument. error with FixedColumns and IE7/8

$
0
0
I get the error

SCRIPT87: Invalid argument. at FixedColumns.min.js, line 29 character 123

when I use FixedColumns with IE7 and IE8. Looking at the FixedColumns code it occurs at the line

oGrid.dt.style.width = iRemainder+"px";

and the error occurs because iRemainder is negative, which in turn is because iTotal is zero. Furthermore I get lots of these errors.

I think part of the problem is that as far as I can work out $(window).resize is triggered in IE7/8 not just when the window is resized but also when an element in the window is resized.

This does not happen on the example pages, so obviously there's something different about my table/CSS that's provoking the problem. Any ideas on how to change the CSS to circumvent the problem or else patch FixedColumns so the problem doesn't happen much appreciated.

Campbell

Viewing all articles
Browse latest Browse all 82117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>