IE7 issue with _fnApplyToChildren
IE7 issue with _fnApplyToChildren
lagout
Posts: 3Questions: 1Answers: 0
// Apply all widths in final pass. Invalidates layout only once because we do not
// read any DOM properties.
_fnApplyToChildren(function (nToSize, i) {
nToSize.style.width = aApplied[i];
}, anHeadToSize );
Have not had much time to investigate deeper into this issue in IE7 as of yet but I thought I'd leave this here just incase. Every time the table loads/ scroller update occurs I get an IE7 exception because aApplied[I] == undefined. For the time being I've set my code to...
// Apply all widths in final pass. Invalidates layout only once because we do not
// read any DOM properties.
_fnApplyToChildren(function (nToSize, i) {
if (aApplied[i] != undefined)
nToSize.style.width = aApplied[i];
}, anHeadToSize );
Not something I've wanted to do but I'm not sure what relation this function has to the table at the moment.
// read any DOM properties.
_fnApplyToChildren(function (nToSize, i) {
nToSize.style.width = aApplied[i];
}, anHeadToSize );
Have not had much time to investigate deeper into this issue in IE7 as of yet but I thought I'd leave this here just incase. Every time the table loads/ scroller update occurs I get an IE7 exception because aApplied[I] == undefined. For the time being I've set my code to...
// Apply all widths in final pass. Invalidates layout only once because we do not
// read any DOM properties.
_fnApplyToChildren(function (nToSize, i) {
if (aApplied[i] != undefined)
nToSize.style.width = aApplied[i];
}, anHeadToSize );
Not something I've wanted to do but I'm not sure what relation this function has to the table at the moment.
This discussion has been closed.
Replies
oTable = $('#table').dataTable({
"sDom": "frtiS",
"sScrollY":'400px',
"bServerSide": true,
"bPagination": true,
"bFilter": false,
"sAjaxSource": ....(working)",
"fnInitComplete": function() {
this.fnAdjustColumnSizing();
},
"bSort" : false,
"bProcessing": true,
"bDeferRender": true,
"bScrollCollapse": true,
"fnDrawCallback": fnAfterDraw,
"aoColumns": [
{ "sTitle": "a1", "bSortable": true },
{ "sTitle": "a2", "bSortable": false },
{ "sTitle": "a3", "bSortable": false },
{ "sTitle": "a4", "bSortable": false },
{ "sTitle": "a5", "bSortable": false },
{ "sTitle": "a6", "bSortable": false },
{ "sTitle": "a7", "bSortable": false },
{ "sTitle": "a8", "bSortable": false },
{ "sTitle": "a9", "bSortable": false },
{ "sTitle": "a10", "bSortable": false }
],
"oScroller": {
"loadingIndicator": true
},
"bStateSave": true
});