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 8601479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:51:15+00:00 2026-06-12T01:51:15+00:00

I have an issue with Datatables not using its x-axis scroll correctly. I was

  • 0

I have an issue with Datatables not using its x-axis scroll correctly.

I was previously faced with the IE9 ‘ghost cell’ issue, which I was able to fix. However, now I’m running into a problem where my overflow-x is shown, instead of hiding it and making the window scrollable.

My Datatables initialization:

 var oTable = $('#tableBP').dataTable({
        "bJQueryUI": true,
        "sScrollX": "100%",
        "sScrollXInner": "200%",
        "sScrollY": 300,
        "bScrollCollapse": false,
        "bFilter": true,
        "bSort": false,
        "bInfo": false,
        "bPaginate": false
    });

    //This is a Datatables plugin. The issue occurs whether I comment this part or not.
    new FixedColumns(oTable, { 
        "iLeftWidth": 225
    });

This is what I’m faced with: overflowX not working like it should

It works in IE9 compatibility mode though. Unfortunately, other parts of the page do not allow me te run this is a lower version compatibility, but this clearly marks it as a IE9 only issue. No issues in Chrome, Safari, Opera, Firefox.

I’m not going to post the table here because of its sheer size (2000+ td fields in some cases). It is a perfectly valid HTML table with a thead/tbody, and all whitespaces between the tags have been removed (this is what fixed my previous ghost cell issue).

Anyone have any experience with Datatables and know the root cause of this issue?

PS: this is an MVC2 app (C#.Net) but this issue seems unrelated to the application that generated this webpage.

Update

I forgot to mention the following part:

The table used to be displayed properly; but due to IE9’s ghost cell issue in large tables, I was forced to clean all whitespaces from between my table/thead/tbody/tr/td tags.
I resolved this by forcing a regex replace on my aplication’s HTML output:

// response is the string with my HTML output which will be written to the browser after this:

string expression = @">[ \t\r\n\v\f]*<td"; 
response = Regex.Replace(response, expression, @"> <td");

If I comment out the RegEx replace, the overflow of datatables works perfectly, but I’m faced with the ghost cell issue which cause misalignment and all-round ugliness.
When uncommented, all cells are perfectly aligned, but the overflow stops working.

Like I said, the issue only pertains to IE9. All other browsers(including IE9 in compatibility mode) render the table perfectly in both commented/uncommented states.

  • 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-06-12T01:51:16+00:00Added an answer on June 12, 2026 at 1:51 am

    I’ve managed to fix the issue, after a lot of searching and patience.

    The issue was Bootstrap related. Well, not Bootstrap exactly, but what Bootstrap.css does is add a max-width: 100%; to every table. Which is great for general layout, but apparently IE9 can’t combine that with a scrollable overflow-x setup. IE9 doesn’t really like max- and min- heights and widths from my experience.

    But I still want to thank all of you for your efforts, you put me on the right road to find the root cause of this issue!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue which I could not find answer for across the web.
I have a sticky SQL issue and I'm not the best with SQL... I
I have a data access layer which returns DataSets/DataTables by executing Stored Procedure. Everything
I have a weird issue reading a .csv file using c#. Here are the
I'm using datatables but I don't think that's the issue. I've commented them out
I have issue with: <form:checkboxes path=roles cssClass=checkbox items=${roleSelections} /> If previous line is used
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
We are new to ROR, We have issue in creating Login/Logout process in ROR
Share your ideas please! I have issue to check the folder and convert a
Have an issue with marshall and unmarshall readers and writers. So here it is.

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.