IE8 only shows circa 150 lines
IE8 only shows circa 150 lines
lib
Posts: 9Questions: 1Answers: 0
Hi,
In Firefox (also in Opera pre-webkit) DataTable shows all lines of output, which may go up to some thousands.
Problem is that I have to make this work with IE8 and IE8 only shows circa 150 lines. They're all loaded, because when I sort them in the opposite direction I can see lines previously not shown.
Changing bDeferRender
to false
doesn't mitigate the problem.
Is there anything I can check?
var table = $('#tbl_resultados').DataTable( {
"bProcessing": true,
"sAjaxSource": "/apls/indicadores/indic_acess.php",
"bServerSide": false,
"bJQueryUI": true,
"sServerMethod": "GET",
"bDestroy": true,
"sScrollY": "420px",
"sDom": 'T<"clear">C<"clear">frtiS',
"bDeferRender": true,
"fnServerData": function ( sSource, aoData, fnCallback ) {
request = $.ajax({
"dataType": 'json',
"type": "GET",
"url": sSource,
"data":{
"fn": "lines",
"hierarquia": hierarquia,
"caes": caes,
"indic_periodos": indic_periodos
},
"success": fnCallback
});
},
"oTableTools": {
"sSwfPath": "/javascript/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf"
},
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [ 0, 2, 13, 14, 15, 16 ] },
{ "sClass": "right", "aTargets": [ 0, 6, 7, 8, 9 , 10, 11, 12, 13, 14, 15 ] },
{ "sClass": "left", "aTargets": [ 2 ] },
{ "sClass": "center", "aTargets": [ 1, 3, 4, 5, 16 ] },
{ "sType": "string", "aTargets": [ 2, 5 ] },
{ "bSearchable": false, "aTargets": [ 0,4,5,6,7,8,9,10,11,12,13, 14, 15, 16 ] },
{ "sClass": "dt1", "aTargets": [ 1 ] },
{ "sWidth": "18px", "aTargets": [ 2 ] },
{ "mRender": function ( data, type, row ) {
return "<a target=_blank href=http://localhost:8000/apls/cg.php?n=" + data + ">" + data + "</a>";
}, "aTargets": [ 1 ]
}
],
"createdRow": function ( row, data, index ) {
if ( data[13] === "1" && data[14] === "1") {
$('td', row).addClass('cnd');
(... and others)
},
"aoColumns": [
{ "sTitle": "id" },
(... and others)
],
"language": {
"decimal": ",",
This discussion has been closed.
Replies
No ideas about this problem? Is it only a problem of mine?