Child Row with colspan="0"

Child Row with colspan="0"

cbtdevcbtdev Posts: 39Questions: 12Answers: 0

Hi,

Recently after upgrading from 1.10.10 to 1.10.11 we noticed that the child rows are rendering with colspan="0" which makes the child row squish into the first column. This table in particular has 6 visible columns. After some digging it looks like there was change made to _fnVisbleColumns:

1.10.10

function _fnVisbleColumns( oSettings )
{
    return _fnGetColumns( oSettings, 'bVisible' ).length;
}

1.10.11

function _fnVisbleColumns( oSettings )
{
    return $( _pluck( oSettings.aoColumns, 'nTh' ) ).filter(':visible').length;
}

Any thought as to why my visible columns are being filtered out causing this function to return 0?

Thanks in advance,
Kurt

Replies

  • cbtdevcbtdev Posts: 39Questions: 12Answers: 0

    I should also mention that this is reproduced in Chrome and Safari.
    Firefox and IE11 render fine.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Yes, unfortunately this is a bug in 1.10.11. It has however already been fixed by this commit and is available in the nightly.

    I expect to release DataTables 1.10.12 with the fix next month.

    Regards,
    Allan

This discussion has been closed.