Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6199373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:10:34+00:00 2026-05-24T04:10:34+00:00

Im having some issues with datatables.net and internet explorer 8 ( Could also be

  • 0

Im having some issues with datatables.net and internet explorer 8 ( Could also be other browsers, but works in IE9). I have spent some time trying to find out what the issue is and i have been unable, but i have figured out what javascript that seems to trigger it:

If i remove this code then it works in IE 8, can someone point out the error in my ways ?

"aoColumns": [
    { "sType": "string" },                       // Player name
    { "sType": "numeric-minus" },                       // Damage done
    { "sType": "numeric-comma", "bVisible": false },    // DPS real
    { "sType": "numeric-comma" },                       // DPS Avg
    {"sType": "numeric-minus" },                        // Damage taken
    {"sType": "numeric-minus" },                        // Healing done
    {"sType": "numeric-comma", "bVisible": false },    // healing done HPS
    {"sType": "numeric-comma" },    // healing done HPS Avg
    { "sType": "numeric-comma" },                       // Overhealing
    { "sType": "numeric-comma" },                       // Healing taken
    { "sType": "numeric-comma", "bVisible": false },    // Mana done
    { "sType": "numeric-comma", "bVisible": false },    // Stamina done
    {"sType": "string", "bVisible": false },            // Class
    {"sType": "percent" },                              // Activity
],

Error details from IE 8

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 28 Jul 2011 09:59:45 UTC    

Message: 'style' is null or not an object
Line: 5585
Char: 7
Code: 0
media/js/jquery.dataTables.js

Lines from datatable around error ( Error line has comment behind it ).

Function: _fnGetUniqueThs Purpose: Get an array of unique th
elements, one for each column
Returns: array node:aReturn – list
of unique ths
Inputs: object:oSettings – dataTables settings
object
node:nHeader – automatically detect the layout from this
node – optional
array object:aLayout – thead/tfoot layout from
_fnDetectHeader – optional

var nThs = _fnGetUniqueThs( oSettings, nTheadClone );
iCorrector = 0;
for ( i=0 ; i<iColums ; i++ )
{
    var oColumn = oSettings.aoColumns[i];
    if ( oColumn.bVisible && oColumn.sWidthOrig !== null && oColumn.sWidthOrig !== "" )
    {
        nThs[i-iCorrector].style.width = _fnStringToCss( oColumn.sWidthOrig );
    }
    else if ( oColumn.bVisible )
    {
        nThs[i-iCorrector].style.width = ""; // This is the error line
    }
    else
    {
        iCorrector++;
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:10:35+00:00Added an answer on May 24, 2026 at 4:10 am

    Using this code fixed the problem for me, il leave the question open perhaps somone knows why it works with this change.

    "aoColumns": [
        { "sType": "string", "sWidth": "auto" },                       // Player name
        {"sType": "numeric-minus", "sWidth": "auto" },                       // Damage done
        {"sType": "numeric-comma", "bVisible": false, "sWidth": "auto" },    // DPS real
        {"sType": "numeric-comma", "sWidth": "auto" },                       // DPS Avg
        {"sType": "numeric-minus", "sWidth": "auto" },                        // Damage taken
        {"sType": "numeric-minus", "sWidth": "auto" },                        // Healing done
        {"sType": "numeric-comma", "bVisible": false, "sWidth": "auto" },    // healing done HPS
        {"sType": "numeric-comma", "sWidth": "auto" },    // healing done HPS Avg
        {"sType": "numeric-comma", "sWidth": "auto" },                       // Overhealing
        {"sType": "numeric-comma", "sWidth": "auto" },                       // Healing taken
        {"sType": "numeric-comma", "bVisible": false, "sWidth": "auto" },    // Mana done
        {"sType": "numeric-comma", "bVisible": false, "sWidth": "auto" },    // Stamina done
        {"sType": "string", "bVisible": false, "sWidth": "auto" },            // Class
        {"sType": "percent", "sWidth": "auto" }                              // Activity
    ],
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some issues with Javascript content on Internet Explorer, specifically, a page will
I have been having some issues with LINQ-To-SQL around memory usage. I'm using it
I'm having some issues with an asp.net implementation of this JQuery facebook style autocomplete
Having some issues getting this MPMoviePlayerViewController to work. I have two sample URLs pointing
I'm having some issues deploying a Visio addin. Running the VSTO file works on
having some issues with a networking assignment. End goal is to have a C
Having some issues running my code local. I have host file setup like this:
Having some issues with C. I have this is my code: // First line
I'm having some issues using XmlSerializer and XmlTextReader in c# when saving DataTables which
I am having some issues with special characters in Crystal Reports. I have some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.