child rows on redraw problem (DataTables 1.10)

child rows on redraw problem (DataTables 1.10)

RagingTrollRagingTroll Posts: 34Questions: 3Answers: 0
edited January 2014 in General
check file
http://www.datatables.net/download/build/jquery.dataTables.js
ctrl+f and search for "/* Row callback functions - might want to manipulate the row */"

check file
https://github.com/DataTables/DataTables/blob/master/media/js/jquery.dataTables.js#L1848

in the new code, there is no
[code]
if ( iOpenRows !== 0 )
{
for ( var k=0 ; k

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    That's an error. I'll look into it and post a fix shortly. Will update here when done.

    Allan
  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    I've committed the fix for this now - thanks for pointing it out.

    Regarding the fact that the code for the aoOpenRows array is no longer in the draw function, this is part of my modularisation work on DataTables (a long term, 1.11 perhaps, rather than 1.10). Now the code required for the row details is entirely contained in the api.row.detials.js function - so if you don't want that code, you don't need to include it in the built: https://github.com/DataTables/DataTablesSrc/blob/master/js/api/api.row.details.js#L61 .

    Regards,
    Allan
  • RagingTrollRagingTroll Posts: 34Questions: 3Answers: 0
    Thanks for the quick fix! :)
This discussion has been closed.