SCRIPT87: Invalid argument. jquery.dataTables.js, line 4268 character 4

SCRIPT87: Invalid argument. jquery.dataTables.js, line 4268 character 4

nullpointernullpointer Posts: 23Questions: 12Answers: 2

Dear all,
I got this error in IE 9, in google Chrome is working fine, debugging it get me to this function,
line: "n.style.width = _fnStringToCss( $(n).outerWidth() - correction );"

         /**
     * Adjust a table's width to take account of vertical scroll bar
     *  @param {object} oSettings dataTables settings object
     *  @param {node} n table node
     *  @memberof DataTable#oApi
     */
    
    function _fnScrollingWidthAdjust ( settings, n )
    {
        var scroll = settings.oScroll;
    
        if ( scroll.sX || scroll.sY ) {
            // When y-scrolling only, we want to remove the width of the scroll bar
            // so the table + scroll bar will fit into the area available, otherwise
            // we fix the table at its current size with no adjustment
            var correction = ! scroll.sX ? scroll.iBarWidth : 0;
            n.style.width = _fnStringToCss( $(n).outerWidth() - correction );
        }
    }

Upload complete - debug code: ivuxav

This discussion has been closed.