Missing a whole column on Mac with latest Firefox, but OK on Windows
Missing a whole column on Mac with latest Firefox, but OK on Windows
max4ever
Posts: 45Questions: 0Answers: 0
Hello i am using datables 1.8.2 and i have the same webpage that looks OK Firefox 9.0.1 on windows7,
but on Mac Snow Leopard and Lion with same firefox the 5th column is just missing! no javascript error in the console
Works ok on chrome with both macs.
Here is the code that i use
[code]
Agente
Nr. Distinta
Data
Totale
Approvare
Comandi
Stiamo caricando i dati…
<!--
...
oTable = $('#visualizzazione').dataTable(
{
"bDeferRender": true,
"bStateSave": true,
"oLanguage":
{
"sLoadingRecords": "Attendere per favore - stiamo caricando i dati...",
"sProcessing": "Caricamento...",
"sLengthMenu": "Visualizza _MENU_ elementi",
"sZeroRecords": "La ricerca non ha portato alcun risultato.",
"sInfo": "Vista da _START_ a _END_ di _TOTAL_ elementi",
"sInfoEmpty": "Vista da 0 a 0 di 0 elementi",
"sInfoFiltered": "(filtrati da _MAX_ elementi totali)",
"sInfoPostFix": "",
"sSearch": "Cerca:",
"sUrl": "",
"oPaginate": {
"sFirst": "Inizio",
"sPrevious": "Precedente",
"sNext": "Successivo",
"sLast": "Fine" }
},
"aoColumns": [
{ "sName": "agente"},
{ "sName": "numero_distinta"},
{ "sName": "data"},
{ "sName": "totale", "sClass" : "right", "sWidth": "150px"},
{ "sName" : "approvato", "sWidth": "100px", "bVisible" : true},
{ "sName": "id", "sWidth": "70px", "sClass": "operazioni", "bSortable": false, "bSearchable" : false,
"mDataProp": null, "sDefaultContent": " "
}
],
"aaSorting": [ [2,'desc']],
bAutoWidth:false,
"aLengthMenu": [[5, 10, 15, 25, 50, 100 , -1], [5, 10, 15, 25, 50, 100, "Tutti"]],
"iDisplayLength" : 15,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"bProcessing": true,
"bServerSide": true,
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
var approvato = aData[4];
if ( approvato == undefined)
{
$('td:eq(4)', nRow).html("<\/center> ");
$('td:last', nRow).append("");
}
else
{
$('td:eq(4)', nRow).html('<\/center> ');
}
return nRow;
},
"sAjaxSource": "/"+controller_name+"/ajax/",
"fnInitComplete": function()
{
this.fnSetFilteringDelay();//this is callback function
}
});
[/code]
Is there some fix without upgrading to 1.9( don't know if 1.9 fixes this or not) ?
but on Mac Snow Leopard and Lion with same firefox the 5th column is just missing! no javascript error in the console
Works ok on chrome with both macs.
Here is the code that i use
[code]
Agente
Nr. Distinta
Data
Totale
Approvare
Comandi
Stiamo caricando i dati…
<!--
...
oTable = $('#visualizzazione').dataTable(
{
"bDeferRender": true,
"bStateSave": true,
"oLanguage":
{
"sLoadingRecords": "Attendere per favore - stiamo caricando i dati...",
"sProcessing": "Caricamento...",
"sLengthMenu": "Visualizza _MENU_ elementi",
"sZeroRecords": "La ricerca non ha portato alcun risultato.",
"sInfo": "Vista da _START_ a _END_ di _TOTAL_ elementi",
"sInfoEmpty": "Vista da 0 a 0 di 0 elementi",
"sInfoFiltered": "(filtrati da _MAX_ elementi totali)",
"sInfoPostFix": "",
"sSearch": "Cerca:",
"sUrl": "",
"oPaginate": {
"sFirst": "Inizio",
"sPrevious": "Precedente",
"sNext": "Successivo",
"sLast": "Fine" }
},
"aoColumns": [
{ "sName": "agente"},
{ "sName": "numero_distinta"},
{ "sName": "data"},
{ "sName": "totale", "sClass" : "right", "sWidth": "150px"},
{ "sName" : "approvato", "sWidth": "100px", "bVisible" : true},
{ "sName": "id", "sWidth": "70px", "sClass": "operazioni", "bSortable": false, "bSearchable" : false,
"mDataProp": null, "sDefaultContent": " "
}
],
"aaSorting": [ [2,'desc']],
bAutoWidth:false,
"aLengthMenu": [[5, 10, 15, 25, 50, 100 , -1], [5, 10, 15, 25, 50, 100, "Tutti"]],
"iDisplayLength" : 15,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"bProcessing": true,
"bServerSide": true,
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
var approvato = aData[4];
if ( approvato == undefined)
{
$('td:eq(4)', nRow).html("<\/center> ");
$('td:last', nRow).append("");
}
else
{
$('td:eq(4)', nRow).html('<\/center> ');
}
return nRow;
},
"sAjaxSource": "/"+controller_name+"/ajax/",
"fnInitComplete": function()
{
this.fnSetFilteringDelay();//this is callback function
}
});
[/code]
Is there some fix without upgrading to 1.9( don't know if 1.9 fixes this or not) ?
This discussion has been closed.