IE9 Ghost columns - again!
IE9 Ghost columns - again!
spudwa
Posts: 8Questions: 0Answers: 0
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
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
This discussion has been closed.
Replies
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
[code]
[code]
not
[/code]
Allan