IE9 Ghost columns - again!

IE9 Ghost columns - again!

spudwaspudwa Posts: 8Questions: 0Answers: 0
edited March 2014 in DataTables 1.10
I having the old ghost columns problem but this time with a new twist. It only seems to appear when I increase the page length from 10 to 50/100. I've tried all the suggested fixes of CSS changes and whitespace removal but the problem remains. Firefox and Chrome work fine.

my code is below
[code]
$(document).ready(function () {
var oTable = $("#demoPolygons").DataTable({
"sDom": 'T<"clear">frtlp',
"aLengthMenu": [[10, 25, 50, 100, 200, -1], [10, 25, 50, 100, 200, "All"]],
"iDisplayLength" : 50,
"oTableTools": {
"sSwfPath": "/swf/copy_csv_xls_pdf.swf",
"sRowSelect": "multi",
"aButtons": ["select_all", "select_none", "copy", "csv"]
}
});

$("#demoPolygons tfoot th").each(function (i) {
var select = $('')
.appendTo($(this).empty())
.on('change', function () {
oTable.column(i).search($(this).val()).draw();
});

oTable.column(i).data().unique().sort().each(function (d, j) {
select.append('' + d + '');
});
});

oTT = TableTools.fnGetInstance('demoPolygons');
});
[/code]

https://mega.co.nz/#!oIIGWazK!_c7V3xEOxCgDjAbBEVAaz5cMBh7STsgMXRjuFEjyNMY

Replies

  • allanallan Posts: 61,635Questions: 1Answers: 10,092 Site admin
    I don't see the whitespace removal hack in the above code?

    That is the only workaround I am aware of for this bug in old IE. Other than upgrading to a decent browser of course :-)

    Allan
  • spudwaspudwa Posts: 8Questions: 0Answers: 0
    As i said I've tried all the fixes from the old thread but with no luck in 'my' situation. That situation being the ghost cells 'only' appear after increasing the page length. I've hand checked for whitespace but as the ghost cell appears in random places I dont think its that. If I click the inspect arrow on the html tab of the F12 tools and mouse over the cells around the ghost cell a strange thing happens. All other cells are perfectly outlined in blue but the ghost cell shows an outline for the whole row and sure enough if I click on it I'm taken to
    [code]
  • spudwaspudwa Posts: 8Questions: 0Answers: 0
    Fixed problem by moving all tr td elements so they are hard up against the left on the file with no whitespace, no formatting no nothing ;-)
    [code]




    not




    [/code]
  • allanallan Posts: 61,635Questions: 1Answers: 10,092 Site admin
    Its rubbish that isn't it... Oh well - good to hear you have a fix!

    Allan
This discussion has been closed.