table.row() with TD

table.row() with TD

tom99tom99 Posts: 48Questions: 10Answers: 0

With 1.10.16, one could do table.row(TD tag) and would get the DataTables row object.

With 1.10.18, this returns undefined. One has to do table.row(TD.parentElement).

Don't know, if this change was intended or of it is a bug.

Replies

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @tom99 ,

    That is a bug in that release, sorry for the inconvenience. It's been fixed in the nightly release, see here. If you could use that nightly release until the next full release is made, which is aimed to be in the next month or so.

    Cheers,

    Colin

  • tom99tom99 Posts: 48Questions: 10Answers: 0

    Thanks for the info. I just changed the few affected code lines to use TD.parentElement.

This discussion has been closed.