row grouping Firefox (ok) IE8 (not)

row grouping Firefox (ok) IE8 (not)

pakypaky Posts: 106Questions: 0Answers: 0
edited November 2009 in General
Hi allan ... my table it's perfect under FF in IE8 don't hide firts column .... my settings:
.
.
.
[code]
"aoColumns":
[
/*id modello*/ { "bVisible": false ,"sWidth": "25%"},
/*mod_titolo*/ { "sWidth": "40%"},
/*creato_il*/ { "sWidth": "20%"},
/*modificato_il*/ { "sWidth": "20%"},
/*funzioni*/ { "sWidth": "25%"}
],
"aaSortingFixed": [[ 0, 'asc' ]],
"aaSorting": [[ 0, 'asc' ]],
"sDom": 'lfr<"giveHeight"t>ip',
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "includes/tab.documenti/server_processing_table_documenti.php",
//salva nei cookies le scelte
"bStateSave": true,
"bJQueryUI": false,
"sPaginationType": "full_numbers",
"oLanguage":
{
"sLengthMenu": "Mostra _MENU_ righe per pagina",
"sZeroRecords": "Nessun risultato",
"sSearch":"Trova documento",
"sInfo": "Dal _START_^ al _END_^ su un totale di _TOTAL_ documenti",
"sInfoEmtpy": "0 to 0 of 0 documenti",
"sInfoFiltered": "( su _MAX_ totali)"
},
// Disable auto column widths
"bAutoWidth": false
[/code]

json string it's clean ... I verified it on jsonlint !!

thanks

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi paky,

    I've just tried this with one of my examples:

    [code]
    $(document).ready(function() {
    $('#example').dataTable({
    "aoColumns": [
    { "bVisible": false },
    null,
    null,
    null,
    null
    ]
    });
    } );
    [/code]
    And it works great - so it's not a general issue with DataTables - which is nice :-). What I'm wondering is if you had state saving on before you adding the bVisible information. Equally, I'd guess that you used IE for your testing when in this state, and Firefox after you added it. In which case, the fact that the column is shown would be shown, and reinstated by the state saving.

    What I would suggest is to delete the cookie in IE and see if that helps.

    Regards,
    Allan
  • pakypaky Posts: 106Questions: 0Answers: 0
    edited November 2009
    Right .... is a cache problem !!! :( I added in the GET link a random variable ....?v=56&r=rndm for circumvent the cache ;)

    bye
This discussion has been closed.